forked from cohabit/server_config
fix: path install and init of zoxide on debian
This commit is contained in:
parent
36e4036fd9
commit
1fba32b2ad
|
@ -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)"
|
||||||
|
|
|
@ -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)"
|
||||||
|
|
Loading…
Reference in a new issue