From b30b56e36d2c28193e7d903704ef4e258860c617 Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Thu, 3 Oct 2024 22:53:58 +0200 Subject: [PATCH] Updated script --- update.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/update.sh b/update.sh index b1edf15..646befb 100755 --- a/update.sh +++ b/update.sh @@ -117,6 +117,10 @@ cargo install ripgrep printf -- '\033[33m Installing eza\n\033[37m' cargo install eza +# Install zoxide +printf -- '\033[33m Installing zoxide\n\033[37m' +cargo install zoxide --locked + # Install fd printf -- '\033[33m Installing fd\n\033[37m' sudo nala install -y fd-find @@ -341,8 +345,9 @@ printf -- '\033[33m Adding path to bashrc\n\033[37m' echo 'PATH="$HOME/.local/bin:$HOME/.cargo/bin:$PATH"' >> ~/.bashrc echo 'alias vi="nvim"' >> ~/.bashrc echo 'alias vim="nvim"' >> ~/.bashrc -echo 'alias ls="eza -1 -l --icons=auto --git-repos --git"' >> ~/.bashrc +echo 'alias ls="eza -1 -l --icons=auto --git-repos --git -h -g --total-size -o --no-permissions -a"' >> ~/.bashrc echo 'source ~/.fzf.bash' >> ~/.bashrc +echo 'eval "$(zoxide init bash)"' >> ~/.bashrc if [ $DESKTOP == "no" ]; then # Add tmux/nvim autostart to bashrc