diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2024-07-15 13:39:24 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2024-07-15 13:39:24 -0400 |
commit | da5ef3b9e22e11192279f0becaa0c8c35b7ff929 (patch) | |
tree | 1080d9905c66ff1ece30fc5a9b519f2688b4e404 /.config/zsh | |
parent | 34ce9cf8940ef1ac6cc6e473fede34d332bb6e9a (diff) |
Migrate `mkcd` to aliasrc
Diffstat (limited to '.config/zsh')
-rw-r--r-- | .config/zsh/.zshrc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index fef70e0..b621cfd 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -76,12 +76,6 @@ RPROMPT="\$vcs_info_msg_0_ %B%F{magenta}(%B%F{cyan}%1/%B%F{magenta})" zstyle ':vcs_info:git:*' formats '%b' -# Quickly navigate to a created directory -mkcd() { - mkdir -p -- "$1" && - cd -P -- "$1" -} - f() { tmp="$(mktemp -uq)" trap 'rm -f $tmp >/dev/null 2>&1 && trap - HUP INT QUIT TERM EXIT' HUP INT QUIT TERM EXIT |