diff options
author | Marc Coquand <marc@mccd.space> | 2024-05-09 21:42:14 -0500 |
---|---|---|
committer | Marc Coquand <marc@mccd.space> | 2024-05-09 21:42:14 -0500 |
commit | f681e97b7deb9265227c67ff75b13feb6483287b (patch) | |
tree | 3a70b1197e02040ddcbdc9ca28ec944319fd56ca /hooks/pre-up/1-mksh | |
parent | f7bf880b1e616c72b539c72ec5507ba554382d6b (diff) | |
download | rcm-f681e97b7deb9265227c67ff75b13feb6483287b.tar.gz rcm-f681e97b7deb9265227c67ff75b13feb6483287b.tar.bz2 rcm-f681e97b7deb9265227c67ff75b13feb6483287b.zip |
Switch oksh -> mksh
Works better with direnv
Diffstat (limited to 'hooks/pre-up/1-mksh')
-rwxr-xr-x | hooks/pre-up/1-mksh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hooks/pre-up/1-mksh b/hooks/pre-up/1-mksh new file mode 100755 index 0000000..7cff998 --- /dev/null +++ b/hooks/pre-up/1-mksh @@ -0,0 +1,6 @@ +#!/bin/sh + +if ! [ -x "$(command -v mksh)" ]; then + sudo xbps-install -y mksh + chsh -s /bin/mksh +fi |