chore: update zshrc and install script with improvements
This commit is contained in:
3
.zshrc
3
.zshrc
@ -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
19
install
Normal file → Executable 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
|
||||
|
Reference in New Issue
Block a user