mirror of https://github.com/tiyn/wiki
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
442 B
13 lines
442 B
# 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
|