Replace t() with t

This commit is contained in:
buffet 2021-06-30 14:44:31 +00:00
parent ecae926bd4
commit c03398d8e4

View file

@ -10,15 +10,9 @@ alias cd..='cd ..'
alias htop='htop -t' alias htop='htop -t'
alias mkdir='mkdir -p' alias mkdir='mkdir -p'
alias rg='rg -S' alias rg='rg -S'
alias t='nvim ~/todo'
alias v='f -e nvim' alias v='f -e nvim'
t() {
if [[ $1 ]]; then
mkdir -p "/tmp/$1"
fi
cd "/tmp/$1"
}
eval "$(fasd --init auto)" eval "$(fasd --init auto)"
_fasd_bash_hook_cmd_complete v _fasd_bash_hook_cmd_complete v