Compare commits

...

7 Commits

Author SHA1 Message Date
Paul Trowbridge c8cf2c98da merge termux 2023-10-28 19:23:11 -04:00
Paul Trowbridge ae4ce36eb4 merge 2023-10-28 19:16:35 -04:00
Paul Trowbridge c7bc5d1f60 add vc 2023-09-25 07:35:13 -04:00
Paul Trowbridge d133d0eb6d cj 2023-08-21 06:45:21 -04:00
Paul Trowbridge 4f711d1f3c color 2023-05-09 21:54:55 -04:00
Paul Trowbridge e4d9373f1f aliases to push pull obsidian repos 2023-05-08 11:48:10 -04:00
Paul Trowbridge 4e9e21aa93 midify for termux 2023-05-08 10:34:10 -04:00
2 changed files with 13 additions and 2 deletions

13
.bashrc
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'
@ -111,8 +116,10 @@ alias gl='git log --graph --oneline --format="%C(yellow)%h %C(green)%an%Creset %
vc() {
git add .
git commit -m "vault backup: $(date "+%Y-%m-%d %H:%M:%S")"
git push
}
alias cj='cd ~/storage/shared/Documents/journal/'
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:
# sleep 10; alert
@ -138,7 +145,9 @@ if ! shopt -oq posix; then
fi
fi
EDITOR=/usr/bin/vim.basic
#EDITOR=/usr/bin/vim.basic
export EDITOR=vim
export VISUAL=vim
PAGER="less"
LESS="-S"
export PSQL_PAGER="pspg"

View File

@ -22,5 +22,7 @@
directory = /opt/forecast_api
directory = /etc/postgresql/15/main/
directory = /etc/postgresql/15/main
directory = /storage/emulated/0/Documents/journal
directory = /storage/emulated/0/Documents/hc_notes
[pull]
rebase = false