add repos function to chdir to repos dir
This commit is contained in:
parent
6822520bac
commit
056f0f4857
10
bash/bashrc
10
bash/bashrc
|
@ -10,3 +10,13 @@ alias ssh="ssh -F $HOME/.config/ssh/config"
|
|||
# remind alias
|
||||
alias sched="nvim $DOTREMINDERS"
|
||||
alias cal="rem -cl"
|
||||
|
||||
PS1="\w\$ "
|
||||
|
||||
# repos func
|
||||
repos() {
|
||||
sel="$(ls ~/git | fzy | awk '{print "/home/usr/git/"$1}')"
|
||||
[ "$?" -eq 1 ] && exit
|
||||
|
||||
cd "$sel"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue