-
Oh My Zsh 官网:
https://ohmyz.sh/ -
install
Oh My Zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
-
set
Oh My Zsh Theme
In order to enable a theme, set ZSH_THEME to the name of the theme in your
~/.zshrc
, before sourcing Oh My Zsh; for example:ZSH_THEME=robbyrussell
-
刷新:
source ~/.zshrc
-
uninstall
Oh My Zsh
uninstall_oh_my_zsh
-
update
Oh My Zsh
omz update
# alias
alias ll='ls -l'
alias la='ls -al'
alias vi='vim'
alias grep="grep --color=auto"
alias showip="ifconfig en0 | grep 'inet ' | awk '{print \$2}'"
# alias end
网友评论