Compare commits
7 Commits
ed811bbae2
...
c8cf2c98da
Author | SHA1 | Date | |
---|---|---|---|
c8cf2c98da | |||
ae4ce36eb4 | |||
c7bc5d1f60 | |||
d133d0eb6d | |||
4f711d1f3c | |||
e4d9373f1f | |||
4e9e21aa93 |
13
.bashrc
13
.bashrc
@ -87,6 +87,11 @@ fi
|
|||||||
# colored GCC warnings and errors
|
# colored GCC warnings and errors
|
||||||
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
#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
|
# some more ls aliases
|
||||||
alias ll='ls -alFh'
|
alias ll='ls -alFh'
|
||||||
alias la='ls -A'
|
alias la='ls -A'
|
||||||
@ -111,8 +116,10 @@ alias gl='git log --graph --oneline --format="%C(yellow)%h %C(green)%an%Creset %
|
|||||||
vc() {
|
vc() {
|
||||||
git add .
|
git add .
|
||||||
git commit -m "vault backup: $(date "+%Y-%m-%d %H:%M:%S")"
|
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:
|
# Add an "alert" alias for long running commands. Use like so:
|
||||||
# sleep 10; alert
|
# sleep 10; alert
|
||||||
@ -138,7 +145,9 @@ if ! shopt -oq posix; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
EDITOR=/usr/bin/vim.basic
|
#EDITOR=/usr/bin/vim.basic
|
||||||
|
export EDITOR=vim
|
||||||
|
export VISUAL=vim
|
||||||
PAGER="less"
|
PAGER="less"
|
||||||
LESS="-S"
|
LESS="-S"
|
||||||
export PSQL_PAGER="pspg"
|
export PSQL_PAGER="pspg"
|
||||||
|
@ -22,5 +22,7 @@
|
|||||||
directory = /opt/forecast_api
|
directory = /opt/forecast_api
|
||||||
directory = /etc/postgresql/15/main/
|
directory = /etc/postgresql/15/main/
|
||||||
directory = /etc/postgresql/15/main
|
directory = /etc/postgresql/15/main
|
||||||
|
directory = /storage/emulated/0/Documents/journal
|
||||||
|
directory = /storage/emulated/0/Documents/hc_notes
|
||||||
[pull]
|
[pull]
|
||||||
rebase = false
|
rebase = false
|
||||||
|
Loading…
Reference in New Issue
Block a user