diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2023-10-25 12:40:20 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2023-10-25 12:40:20 -0400 |
commit | 6ccb0c265a8a5cd9d491f40c9812f84ad7fac4a9 (patch) | |
tree | 7a11b57f95e81e94528181caa8c3724536ed909f /.config/zsh | |
parent | 4bab74779bcc7b5dcb1cb63e8eb7bec74519eb2f (diff) |
xinitrc sources per-hostname configs
Diffstat (limited to '.config/zsh')
-rw-r--r-- | .config/zsh/.zshrc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 60790f1..ca70102 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -80,6 +80,12 @@ 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() { + mkdir -p -- "$1" && + cd -P -- "$1" +} + # Loading shortcuts made by aliasgen and shortcutgen source $HOME/.cache/zsh-aliases* source $HOME/.cache/zsh-shortcuts |