Replace t() with t
This commit is contained in:
parent
ecae926bd4
commit
c03398d8e4
1 changed files with 1 additions and 7 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue