From f681e97b7deb9265227c67ff75b13feb6483287b Mon Sep 17 00:00:00 2001 From: Marc Coquand Date: Thu, 9 May 2024 21:42:14 -0500 Subject: Switch oksh -> mksh Works better with direnv --- hooks/pre-up/1-mksh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 hooks/pre-up/1-mksh (limited to 'hooks/pre-up/1-mksh') 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 -- cgit v1.2.3