diff --git a/_requirements.sh b/_requirements.sh index 0e80693..c34631a 100644 --- a/_requirements.sh +++ b/_requirements.sh @@ -28,7 +28,9 @@ nala install -y \ fzf \ tmux \ tmate \ - zoxide \ + +# Install zoxide through webinstall (see zoxide install instruction on debian) +curl -sS https://webi.sh/zoxide | sh # Install really necessary utilities echo "[server_config] > Installing required utilities (really necessary)" diff --git a/zsh/zsh/.zshrc b/zsh/zsh/.zshrc index f9dc859..b589a22 100644 --- a/zsh/zsh/.zshrc +++ b/zsh/zsh/.zshrc @@ -41,6 +41,9 @@ alias ls="eza --hyperlink --icons" alias ll="ls --header --git -l -a" alias lt="ll -T -I '.?*|node_module|dist'" +# Alias batcat as bat if needed +alias bat="batcat" + # Replace cat with bat alias cat="bat --theme=gruvbox-dark" @@ -57,3 +60,5 @@ alias z=zoxide meteo() { curl "wttr.in/${1:-"Gradignan"}?lang=fr" } + +eval "$(zoxide init zsh)"