diff options
Diffstat (limited to '.config/zsh/.zshrc')
-rw-r--r-- | .config/zsh/.zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index d1aa444..7ec7bc0 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -81,7 +81,7 @@ 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 -function mkcd() { +mkcd() { mkdir -p -- "$1" && cd -P -- "$1" } |