curl -fsSL https://raw.githubusercontent.com/lautumn1990/zsh/main/zsh.sh -o zsh.sh && bash zsh.sh
# theme
# curl -fsSL https://raw.githubusercontent.com/lautumn1990/zsh/main/zsh.sh -o zsh.sh && bash zsh.sh -t ys
curl -fsSL https://raw.githubusercontent.com/lautumn1990/zsh/main/zsh.sh -o zsh.sh && bash zsh.sh -u
-
after install or uninstall you should restart your terminal
-
install or uninstall process maybe need your input password
-
don't use
sudo
to run this script
PROXY=socks5://127.0.0.1:1080 && https_proxy=$PROXY curl -fsSL https://raw.githubusercontent.com/lautumn1990/zsh/main/zsh.sh -o zsh.sh && https_proxy=$PROXY bash zsh.sh
this script will install oh-my-zsh and set zsh as default shell, default theme is ys
, you can change it in ~/.zshrc
file.
- zsh-syntax-highlighting
- zsh-autosuggestions
- add
shift
+tab
to accept suggestion Use to choose autosuggestion
- add
- zsh-history-substring-search
- sudo
- colored-man-pages
- extract
- autojump
- jsontools
- last-working-dir