diff --git a/zsh/files/aliases.zsh b/zsh/files/aliases.zsh index 27af668..03a174c 100644 --- a/zsh/files/aliases.zsh +++ b/zsh/files/aliases.zsh @@ -4,6 +4,9 @@ alias rm='rm -i' alias cp='cp -i' alias mv='mv -i' +alias psg='ps aux | grep -v grep | grep' +alias duplHostKeys='cat $HOME/.ssh/known_hosts | cut -d" " -f3 | sort | uniq -d' + alias sc-status="sudo systemctl status" alias sc-start="sudo systemctl start" alias sc-stop="sudo systemctl stop" diff --git a/zsh/rc.zsh b/zsh/rc.zsh index c56b14b..2bb0fc5 100644 --- a/zsh/rc.zsh +++ b/zsh/rc.zsh @@ -21,13 +21,8 @@ ZINIT[ZCOMPDUMP_PATH]="$HOME/.cache/zsh/compdump" source $HOME/.config/zinit/bin/zinit.zsh # Programs -zinit ice as"program" from"gh-r" mv"fd* -> fd" pick"fd/fd"; zinit light "sharkdp/fd" zinit ice as"program" from"gh-r" mv"bat* -> bat" pick"bat/bat"; zinit light "sharkdp/bat" zinit ice as"program" from"gh-r" mv"exa* -> exa"; zinit light "ogham/exa" -zinit ice as"program" from"gh-r" mv"ripgrep* -> ripgrep" pick"ripgrep/rg"; zinit light "BurntSushi/ripgrep" -zinit ice as"program" from"gh-r" mv"jq-* -> jq"; zinit light "stedolan/jq" -zinit ice as"program" from"gh-r"; zinit light "boyter/scc" -zinit ice as"program" pick"ansi"; zinit light "fidian/ansi" # Completions and Autosuggestions zinit ice lucid blockf atpull'zinit creinstall -q .'; zinit light "zsh-users/zsh-completions" @@ -65,15 +60,11 @@ zstyle ':completion:*:*:*:hosts-ipaddr' ignored-patterns '^(<->.<->.<->.<->|(|:: # Plugins zinit ice lucid; zinit light "mroth/evalcache" zinit ice lucid; zinit snippet OMZP::command-not-found -zinit ice lucid; zinit snippet OMZP::lando zinit ice lucid; zinit snippet OMZP::fzf zinit ice lucid; zinit light "b4b4r07/enhancd" zinit ice lucid; zinit light "jreese/zsh-titles" zinit ice lucid; zinit light "urbainvaes/fzf-marks" zinit ice lucid; zinit light "Aloxaf/fzf-tab" -zinit ice lucid; zinit light "wfxr/forgit" -zinit ice lucid; zinit light "reegnz/jq-zsh-plugin" -zinit ice lucid; zinit light "asdf-vm/asdf" # syntax highlighting zinit ice lucid atinit"ZINIT[COMPINIT_OPTS]=-C; zpcompinit; zpcdreplay"; zinit light "zdharma/fast-syntax-highlighting"