minor
This commit is contained in:
parent
25f6644370
commit
1eff4a9b31
11
files/.zshrc
11
files/.zshrc
@ -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'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user