This commit is contained in:
Paul Trowbridge 2023-09-25 07:35:13 -04:00
parent d133d0eb6d
commit c7bc5d1f60

View File

@ -87,6 +87,11 @@ fi
# colored GCC warnings and errors
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
vc() {
git add .
git commit -m "vault backup: $(date "+%Y-%m-%d %H:%M:%S")"
git push
}
# some more ls aliases
alias ll='ls -alFh'
alias la='ls -A'
@ -108,7 +113,7 @@ alias gc='git commit -v'
alias gd='git difftool'
alias gl='git log --graph --oneline --format="%C(yellow)%h %C(green)%an%Creset %C(blue)%ad%Creset %s"'
alias cj='cd ~/storage/shared/Documents/journal/'
alias jr='cd ~/storage/shared/Documents/journal/ && git pull && git push && cd -'
alias jr='cd ~/storage/shared/Documents/journal/ && git pull && vc && cd -'
alias hc='cd ~/storage/shared/Documents/hc_notes/ && git pull && git push && cd -'
# Add an "alert" alias for long running commands. Use like so: