feat (zshrc): create handy alias to create a temporary directory and cd into it
This commit is contained in:
parent
777271fd41
commit
fe24172e4c
3
zshrc
3
zshrc
@ -58,6 +58,9 @@ alias view='vim -R'
|
|||||||
# Suppresses line numbers in less
|
# Suppresses line numbers in less
|
||||||
alias less='less --line-numbers'
|
alias less='less --line-numbers'
|
||||||
|
|
||||||
|
# Create temporary directory and cd to it
|
||||||
|
alias cdt='builtin cd "$(mktemp -d)"'
|
||||||
|
|
||||||
# Defines the prompt
|
# Defines the prompt
|
||||||
precmd() {
|
precmd() {
|
||||||
vcs_info
|
vcs_info
|
||||||
|
Loading…
Reference in New Issue
Block a user