- apt-get/apt:
apt-get/apt install zsh
- yum/dnf:
yum/dnf install zsh
Set for the current user
chsh -s $(which zsh)
Use sudo
if you want to set default for all users (include root
user)
Replace current shell session to take effects
exec $(which zsh)
Visit: https://ohmyz.sh/
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
plugins=(zsh-autosuggestions)
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=22'
Run the command
git clone https://github.com/vleedev/myenv.git "${HOME}/Documents"
Put to the .zshrc
file
# Load customize configuration myenv
source "${HOME}/Documents/myenv/import.sh"
if you want to set your ENV to every session when you create a new session
Put all ENV_KEY=ENV_VALUE
to the .env
file. Create a new one if it does not exist