Skip to content

Commit b911947

Browse files
harilvfsaayushrg7
andcommitted
Update ZSH Config
Co-Authored-By: aayush <[email protected]>
1 parent 02efcbb commit b911947

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

Diff for: .zshrc

+14-6
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ alias pa='$aurhelper -Ss' # list available package
7171
alias pc='$aurhelper -Sc' # remove unused cache
7272
alias po='$aurhelper -Qtdq | $aurhelper -Rns -' # remove unused packages, also try > $aurhelper -Qqd | $aurhelper -Rsu --print -
7373
alias vc='code' # gui code editor
74-
alias vim='nvim'
74+
alias vim='nvim' # neovim
7575

7676
# Directory navigation shortcuts
7777
alias ..='cd ..'
@@ -80,23 +80,31 @@ alias .3='cd ../../..'
8080
alias .4='cd ../../../..'
8181
alias .5='cd ../../../../..'
8282

83-
# Always mkdir a path (this doesn't inhibit functionality to make a single dir)
84-
alias mkdir='mkdir -p'
85-
8683
#Titus
87-
8884
lazyg() {
8985
git add .
9086
git commit -m "$1"
9187
git push
9288
}
9389

90+
# Always mkdir a path (this doesn't inhibit functionality to make a single dir)
91+
alias mkdir='mkdir -p'
92+
9493
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh
9594
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
9695

9796
# Display Pokemon
98-
pokemon-colorscripts --no-title -r 1,3,6
97+
#pokemon-colorscripts --no-title -r 1,3,6
9998

10099
eval "$(zoxide init zsh)"
101100

101+
if [ -z "$TMUX" ]; then
102+
tmux attach -d || tmux new
103+
fi
104+
105+
nerdfetch
106+
107+
export NVM_DIR="$HOME/.nvm"
108+
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
109+
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
102110

0 commit comments

Comments
 (0)