Skip to content

Commit

Permalink
Update ZSH Config
Browse files Browse the repository at this point in the history
Co-Authored-By: aayush <177418358+aayushrg7@users.noreply.github.com>
  • Loading branch information
harilvfs and aayushrg7 committed Dec 30, 2024
1 parent 02efcbb commit b911947
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions .zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ alias pa='$aurhelper -Ss' # list available package
alias pc='$aurhelper -Sc' # remove unused cache
alias po='$aurhelper -Qtdq | $aurhelper -Rns -' # remove unused packages, also try > $aurhelper -Qqd | $aurhelper -Rsu --print -
alias vc='code' # gui code editor
alias vim='nvim'
alias vim='nvim' # neovim

# Directory navigation shortcuts
alias ..='cd ..'
Expand All @@ -80,23 +80,31 @@ alias .3='cd ../../..'
alias .4='cd ../../../..'
alias .5='cd ../../../../..'

# Always mkdir a path (this doesn't inhibit functionality to make a single dir)
alias mkdir='mkdir -p'

#Titus

lazyg() {
git add .
git commit -m "$1"
git push
}

# Always mkdir a path (this doesn't inhibit functionality to make a single dir)
alias mkdir='mkdir -p'

# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh

# Display Pokemon
pokemon-colorscripts --no-title -r 1,3,6
#pokemon-colorscripts --no-title -r 1,3,6

eval "$(zoxide init zsh)"

if [ -z "$TMUX" ]; then
tmux attach -d || tmux new
fi

nerdfetch

export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion

0 comments on commit b911947

Please sign in to comment.