From: Huck Boles Date: Wed, 10 Jan 2024 15:32:17 +0000 (-0800) Subject: fixed: zoxide-cd alias X-Git-Url: https://git.huck.website/?a=commitdiff_plain;h=334b9cedfacc47023b87fc606771ac661c76142e;p=zsh.git fixed: zoxide-cd alias --- diff --git a/.zshrc b/.zshrc index 4acfa8d..e8f247a 100644 --- a/.zshrc +++ b/.zshrc @@ -37,7 +37,10 @@ for file in $ZSHINCLUDE/*; do . ${file}; done # start programs [[ -f $XDG_CONFIG_HOME/.dircolors ]] && eval $(dircolors -b $XDG_CONFIG_HOME/.dircolors) -[[ $(which zoxide) ]] && eval "$(zoxide init zsh --cmd z)" +if [[ $(which zoxide) ]]; then + eval "$(zoxide init zsh)" + alias cd='z' +fi # zle plugins autoload -Uz chpwd_recent_dirs cdr add-zsh-hook diff --git a/include/aliases.zsh b/include/aliases.zsh index cee2d6b..773dc5e 100644 --- a/include/aliases.zsh +++ b/include/aliases.zsh @@ -25,10 +25,7 @@ alias h='history 0' alias j='jobs -l' alias c='clear' alias zc='cd;clear' -# alias cd='z ' -# alias rename='perl-rename' -alias make='make -j16 -l6 CFLAGS="-march=bdver1"' alias dust='dust -rb' alias ls='lsd'