Improve t

This commit is contained in:
buffet 2021-08-18 18:53:02 +00:00
parent 2acbf79dd2
commit c816ce572f

View file

@ -10,9 +10,15 @@ alias cd..='cd ..'
alias htop='htop -t'
alias mkdir='mkdir -p'
alias rg='rg -S'
alias t='nvim ~/todo/todo'
alias v='f -e nvim'
t() {
case $1 in
u*) git -C ~/todo commit -am 'docs: update' && git -C ~/todo push ;;
p*) git -C ~/todo pull ;;
*) nvim ~/todo/todo ;;
esac
}
eval "$(fasd --init auto)"
_fasd_bash_hook_cmd_complete v