summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/zsh/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/home/zsh/default.nix b/home/zsh/default.nix
index e45f731..284812b 100644
--- a/home/zsh/default.nix
+++ b/home/zsh/default.nix
@@ -23,6 +23,10 @@
PROMPT='%B%(2L.LVL%L .)%b%F{red}%(?..E%? )%f%F{93}%n%f@%F{35}%m%f%# '
fi
RPROMPT='%F{green}%$((COLUMNS/4))<...<%~%<<%f'
+
+ mkcd () {
+ mkdir "$1" && cd "$1"
+ }
'';
};
}