Merge branch 'main' of github.com:alvinlollo/Single-install-script

This commit is contained in:
alvinlollo
2026-03-21 17:02:42 +11:00
2 changed files with 6 additions and 8 deletions
+4 -7
View File
@@ -1,5 +1,7 @@
# If you come from bash, you might have to change your $PATH. # If you come from bash, you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH export PATH=$HOME/bin:/usr/local/bin:$PATH
export PATH="/home/pi/.npm-global/bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
# Path to your oh-my-zsh installation. # Path to your oh-my-zsh installation.
export ZSH=~/.oh-my-zsh export ZSH=~/.oh-my-zsh
@@ -22,7 +24,6 @@ CASE_SENSITIVE="true"
#Zsh autocorrect #Zsh autocorrect
unsetopt correct_all unsetopt correct_all
# Uncomment the following line to use hyphen-insensitive completion. Case # Uncomment the following line to use hyphen-insensitive completion. Case
# sensitive completion must be off. _ and - will be interchangeable. # sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true" # HYPHEN_INSENSITIVE="true"
@@ -96,7 +97,6 @@ fi
# export SSH_KEY_PATH="~/.ssh/rsa_id" # export SSH_KEY_PATH="~/.ssh/rsa_id"
update () { update () {
# Update arch based systems with yay AUR helper # Update arch based systems with yay AUR helper
if command -v pacman >/dev/null && command -v yay >/dev/null; then if command -v pacman >/dev/null && command -v yay >/dev/null; then
echo "✅ 'pacman' and 'yay' found. Updating." echo "✅ 'pacman' and 'yay' found. Updating."
@@ -137,19 +137,15 @@ update () {
sudo npm install -g npm-check-updates sudo npm install -g npm-check-updates
fi fi
omz update omz update
} }
tree () { tree () {
if [ "$1" >/dev/null ]; then if [ "$1" >/dev/null ]; then
eza --tree --git --no-time --no-permissions --level $1 eza --tree --git --no-time --no-permissions --level $1
else else
eza --tree --git --no-time --no-permissions eza --tree --git --no-time --no-permissions
fi fi
} }
# Sudo last command with control + u # Sudo last command with control + u
@@ -177,4 +173,5 @@ fi
# alias zshconfig="mate ~/.zshrc" # alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh" # alias ohmyzsh="mate ~/.oh-my-zsh"
alias lzd="lazydocker"
alias edit="nvim" alias edit="nvim"
+2 -1
View File
@@ -52,10 +52,10 @@ figlet
firefox firefox
flatpak flatpak
fortune-mod fortune-mod
foliate
fuse-overlayfs fuse-overlayfs
fzf fzf
git git
github-cli
glib2-devel glib2-devel
gnome-2048 gnome-2048
gnome-applets gnome-applets
@@ -101,6 +101,7 @@ konsole
krdc krdc
krdp krdp
kvantum kvantum
lazydocker
libde265 libde265
libfprint libfprint
libisoburn libisoburn