dot_testing/bash/bashrc

24 lines
360 B
Bash
Raw Normal View History

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"
# remind alias
alias sched="nvim $DOTREMINDERS"
2022-02-22 13:52:11 -06:00
alias cal="rem -cl"
PS1="\w\$ "
# repos func
repos() {
sel="$(ls ~/git | fzy | awk '{print "/home/usr/git/"$1}')"
[ "$?" -eq 1 ] && exit
cd "$sel"
}