fix: path install and init of zoxide on debian

This commit is contained in:
Julien Oculi 2024-06-05 19:08:46 +02:00
parent 36e4036fd9
commit 1fba32b2ad
2 changed files with 8 additions and 1 deletions

View file

@ -28,7 +28,9 @@ nala install -y \
fzf \ fzf \
tmux \ tmux \
tmate \ tmate \
zoxide \
# Install zoxide through webinstall (see zoxide install instruction on debian)
curl -sS https://webi.sh/zoxide | sh
# Install really necessary utilities # Install really necessary utilities
echo "[server_config] > Installing required utilities (really necessary)" echo "[server_config] > Installing required utilities (really necessary)"

View file

@ -41,6 +41,9 @@ alias ls="eza --hyperlink --icons"
alias ll="ls --header --git -l -a" alias ll="ls --header --git -l -a"
alias lt="ll -T -I '.?*|node_module|dist'" alias lt="ll -T -I '.?*|node_module|dist'"
# Alias batcat as bat if needed
alias bat="batcat"
# Replace cat with bat # Replace cat with bat
alias cat="bat --theme=gruvbox-dark" alias cat="bat --theme=gruvbox-dark"
@ -57,3 +60,5 @@ alias z=zoxide
meteo() { meteo() {
curl "wttr.in/${1:-"Gradignan"}?lang=fr" curl "wttr.in/${1:-"Gradignan"}?lang=fr"
} }
eval "$(zoxide init zsh)"