diff --git a/arch-linux/applications/README.md b/arch-linux/applications/README.md index f4dd2bc..d994b7d 100644 --- a/arch-linux/applications/README.md +++ b/arch-linux/applications/README.md @@ -7,5 +7,6 @@ These are guides on how to set up and configure special programs for Arch Linux, | calendar.md | My favourite calendar program setup and configuration | | contacts.md | My favourite contacts program setup and configuration | | mail.md | My favourite mail program setup and configuration | +| shell.md | /bin/sh is bloated with bash, use dash instead | | tablecalculation.md | My favourite tablecalculation program setup and configuration | | wine.md | My favourite way to run windows programs and games with basic setup and configuration | diff --git a/arch-linux/applications/shell.md b/arch-linux/applications/shell.md new file mode 100644 index 0000000..a6acab2 --- /dev/null +++ b/arch-linux/applications/shell.md @@ -0,0 +1,12 @@ +# Shell + +The Shell in Arch-Linux is made up by a POSIX compliant mode of bash. +Problem with that is the speed. +A shell like dash would be much faster. +This is a guide on how to persistently change the symlink /bin/sh from bash to dash. + +## Setup + +- `yay -S dash` - Install dash +- `sudo ln -sfT /bin/dash /bin/sh` - link /bin/sh to dash +- `sudo vim /usr/share/libalpm/hooks/bash-update.hook` - setup a hook to avoid bash resetting the symlink