add sg alias

This commit is contained in:
Christoph J. Scherr 2024-10-23 23:19:28 +02:00
parent e0575fce85
commit 1342bbd614
1 changed files with 2 additions and 1 deletions

3
.zshrc
View File

@ -33,6 +33,7 @@ alias isotime='date +"%Y-%m-%dT%H:%M:%S%z"'
alias isodate='date +%Y-%m-%dT%H:%M:%S%z' alias isodate='date +%Y-%m-%dT%H:%M:%S%z'
alias datefmt='date $DATEFMT' alias datefmt='date $DATEFMT'
alias gg=lazygit alias gg=lazygit
alias sg=sourcegit
alias reload="source ~/.zshrc" alias reload="source ~/.zshrc"
alias gls=/bin/ls alias gls=/bin/ls
alias bat=batcat alias bat=batcat
@ -298,5 +299,5 @@ function load_nvm() {
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads 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 [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
} }
alias nvim="load_nvm && nvim"
# zprof # zprof