diff --git a/zshrc b/zshrc index 9bc4485..c2feaa9 100644 --- a/zshrc +++ b/zshrc @@ -58,6 +58,9 @@ alias view='vim -R' # Suppresses line numbers in less alias less='less --line-numbers' +# Create temporary directory and cd to it +alias cdt='builtin cd "$(mktemp -d)"' + # Defines the prompt precmd() { vcs_info