fix: replace redundant zoxide alias with zoxide init

This commit is contained in:
Julien Oculi 2024-06-05 21:18:47 +02:00
parent fb8bce4bba
commit ee8c57ad6b

View file

@ -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)"