]> Trent Huber's Code - thus.git/commitdiff
INSTALL.md syntax highlighting
authorTrent Huber <trentmhuber@gmail.com>
Sat, 8 Nov 2025 09:08:49 +0000 (04:08 -0500)
committerTrent Huber <trentmhuber@gmail.com>
Sat, 8 Nov 2025 09:08:49 +0000 (04:08 -0500)
INSTALL.md

index 1fb950f17568bb3b3568139d94b513e27c77bfce..977b572b00e621e18d64fbd6bb20e03299893d38 100644 (file)
@@ -21,7 +21,7 @@ similar approach can be used for other shells). We'll need to modify the scripts
 that are executed at login and during an interactive session. For sh, the login
 configuration file is `.profile`.
 
-```console
+```sh
 # ~.profile
 
 ENV=$HOME/.shrc
@@ -33,7 +33,7 @@ THUSLOGIN=-l
 `ENV` is used by sh as the path of the user's configuration file used for
 interactive sessions, in this case, `.shrc`.
 
-```console
+```sh
 # ~.shrc
 
 test -z "$ESCAPE" && echo $- | grep -q i && exec thus $THUSLOGIN
@@ -51,19 +51,19 @@ thus.
 Since aliases take precedent over executables in the path, you could even define
 an alias to sh that runs a script that runs sh after defining `ESCAPE`.
 
-```console
+```sh
 # ~.sh.sh
 
 #! /usr/bin/env thus
 
-set ESCAPE true
+set ESCAPE escape
 env sh
 unset ESCAPE
 ```
 
 And then the alias goes in the interactive config file for thus.
 
-```console
+```sh
 # ~.thusrc
 
 alias sh "~.sh.sh"