diff --git a/brew/Brewfile b/brew/Brewfile index 6dfbd10..dbd39df 100644 --- a/brew/Brewfile +++ b/brew/Brewfile @@ -25,6 +25,7 @@ brew "fzf" brew "git-delta" brew "tldr" brew "thefuck" +brew "zoxide" # Docker brew "docker" diff --git a/zsh/.zshrc b/zsh/.zshrc index 2f72e29..2bf8199 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -58,7 +58,7 @@ export ZSH="$HOME/.oh-my-zsh" # Custom plugins may be added to $ZSH_CUSTOM/plugins/ # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. -plugins=(zsh-z web-search) +plugins=(web-search) source $ZSH/oh-my-zsh.sh @@ -184,13 +184,19 @@ _fzf_comprun() { esac } -# thefuck configuration +### thefuck configuration eval $(thefuck --alias) eval $(thefuck --alias fk) +### Zoxide (better cd) configuration +eval "$(zoxide init zsh)" + ### List directories alias ls="eza -a --group-directories-first --icons --color=always" alias la="eza -a --group-directories-first --icons --color=always --oneline" ### Go to dotfiles directory alias dotfiles="code ~/.dotfiles" + +### Zoxide (better cd) +alias cd="z"