From ee8c57ad6b696aa85eca802ebec4d18fd65dcb9c Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Wed, 5 Jun 2024 21:18:47 +0200 Subject: [PATCH] fix: replace redundant zoxide alias with zoxide init --- zsh/zsh/.zshrc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/zsh/zsh/.zshrc b/zsh/zsh/.zshrc index 559d61b..288fa00 100644 --- a/zsh/zsh/.zshrc +++ b/zsh/zsh/.zshrc @@ -50,8 +50,8 @@ alias cat="bat --theme=gruvbox-dark" # File previews for fzf using bat alias fp="fzf --preview 'bat --style=numbers --color=always --line-range :500 {}'" -# Zoxide alias -alias z=zoxide +# Init zoxide +eval "$(zoxide init zsh)" ################################ # Utilities @@ -60,5 +60,3 @@ alias z=zoxide meteo() { curl "wttr.in/${1:-"Gradignan"}?lang=fr" } - -eval "$(zoxide init zsh)"