From d36c2e459a74ec67e523539eb98b78b95b01432a Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 16 Apr 2025 11:20:43 -0300 Subject: src/content/: Normalize [source,$lang] code blocks --- src/content/tils/2020/11/12/useful-bashvars.adoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/content/tils/2020/11/12/useful-bashvars.adoc') diff --git a/src/content/tils/2020/11/12/useful-bashvars.adoc b/src/content/tils/2020/11/12/useful-bashvars.adoc index 84b93c3..fb148fb 100644 --- a/src/content/tils/2020/11/12/useful-bashvars.adoc +++ b/src/content/tils/2020/11/12/useful-bashvars.adoc @@ -13,7 +13,7 @@ on the terminal. The {bash-bang-bang}[`!!` variable] refers to the previous command, and I find useful when following chains for symlinks: -[source,shell] +[source,sh] ---- $ which git /run/current-system/sw/bin/git @@ -25,7 +25,7 @@ readlink $(which git) It is also useful when you forget to prefix `sudo` to a command that requires it: -[source,shell] +[source,sh] ---- $ requires-sudo.sh requires-sudo.sh: Permission denied @@ -43,7 +43,7 @@ The {bash-dollar-underscore}[`$_` variable] will give you the most recent parameter you provided to a previous argument, which can save you typing sometimes: -[source,shell] +[source,sh] ---- # instead of... $ mkdir -p a/b/c/d/ -- cgit v1.2.3