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 # File previews for fzf using bat
alias fp="fzf --preview 'bat --style=numbers --color=always --line-range :500 {}'" alias fp="fzf --preview 'bat --style=numbers --color=always --line-range :500 {}'"
# Zoxide alias # Init zoxide
alias z=zoxide eval "$(zoxide init zsh)"
################################ ################################
# Utilities # Utilities
@ -60,5 +60,3 @@ alias z=zoxide
meteo() { meteo() {
curl "wttr.in/${1:-"Gradignan"}?lang=fr" curl "wttr.in/${1:-"Gradignan"}?lang=fr"
} }
eval "$(zoxide init zsh)"