Update config

This commit is contained in:
alvinlollo
2026-03-14 23:26:21 +11:00
committed by GitHub
parent 8307e84c27
commit 15206b787a
+3 -7
View File
@@ -1,5 +1,6 @@
# 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/.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 +23,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 +96,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."
@@ -136,19 +135,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
@@ -176,4 +171,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"