This commit is contained in:
Konano 2023-07-23 17:41:02 +08:00
parent 25f6644370
commit 1eff4a9b31

View File

@ -72,9 +72,15 @@ zstyle ':omz:update' frequency 13
# Add wisely, as too many plugins slow down shell startup.
plugins=(git)
plugins+=(git-open autojump zsh-autosuggestions zsh-syntax-highlighting sudo)
plugins+=(history encode64 docker-compose tmux)
plugins+=(history encode64 tmux)
plugins+=(dirhistory jsontools)
plugins+=(fzf)
dependent_plugins() {
if command -v "$@" >/dev/null 2>&1; then plugins+=("$@"); fi
}
dependent_plugins docker-compose
dependent_plugins fzf
source $ZSH/oh-my-zsh.sh
@ -121,6 +127,7 @@ alias -s bz2='tar -xjvf'
alias cp='cp -i'
alias cl='clear'
alias ag='alias | grep'
if [ -f "/etc/network/if-pre-up.d/iptables-load" ]; then
alias ipl='sudo iptables -L -n'