2022-02-05 22:58:21 -06:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# some housekeeping
|
|
|
|
set -o vi
|
|
|
|
shopt -s autocd
|
2022-06-26 19:57:05 -05:00
|
|
|
alias rc=". .config/bash/bashrc"
|
2022-02-05 22:58:21 -06:00
|
|
|
|
|
|
|
# ssh keeping tidy
|
|
|
|
alias ssh="ssh -F $HOME/.config/ssh/config"
|
2022-02-19 17:42:51 -06:00
|
|
|
|
|
|
|
# remind alias
|
|
|
|
alias sched="nvim $DOTREMINDERS"
|
2022-02-22 13:52:11 -06:00
|
|
|
alias cal="rem -cl"
|
2022-10-17 13:20:52 -05:00
|
|
|
alias shutdown="sudo shutdown -h now"
|
2022-06-26 19:01:06 -05:00
|
|
|
|
|
|
|
PS1="\w\$ "
|
|
|
|
|
|
|
|
# repos func
|
|
|
|
repos() {
|
|
|
|
sel="$(ls ~/git | fzy | awk '{print "/home/usr/git/"$1}')"
|
|
|
|
[ "$?" -eq 1 ] && exit
|
|
|
|
|
|
|
|
cd "$sel"
|
|
|
|
}
|