chore: update zshrc and install script with improvements

This commit is contained in:
2025-05-28 21:13:31 +02:00
parent cc839e05c2
commit cd03e5d30b
3 changed files with 17 additions and 9 deletions

3
.zshrc
View File

@ -129,7 +129,8 @@ source $HOME/.zshenv
eval "$(direnv hook zsh)"
# Load Angular CLI autocompletion.
if [ command -v ng >/dev/null ]; then
# Load Angular CLI autocompletion if ng command is available.
source <(ng completion script)
# bun completions

19
install Normal file → Executable file
View File

@ -1,16 +1,23 @@
#!/usr/bin/env bash
apt update
set -e
echo "[+] Updating System Packages..."
apt update -qq
echo "[+] Upgrading System Packages..."
apt upgrade -yqq
echo "[+] Installing Dependencies..."
apt install -yqq \
git \
zsh \
curl \
exa \
direnv \
bat \
ripgrep
btop
curl https://sh.rustup.rs -sSf | sh
curl -sfL https://direnv.net/install.sh | bash
echo "[+] Installing Oh My Zsh..."
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
cargo install exa
cp .zshenv.template .zshenv

2
setup
View File

@ -1,5 +1,5 @@
#!/usr/bin/env bash
#sed -i -e 's/\r$//' ~/dotfiles/*
set -e
echo "[+] Cloning submodules..."