diff --git a/nix-conf/home/includes/zsh.nix b/nix-conf/home/includes/zsh.nix index 1c758b2..f074194 100644 --- a/nix-conf/home/includes/zsh.nix +++ b/nix-conf/home/includes/zsh.nix @@ -185,6 +185,11 @@ in cd "$DIR" } + # From omz + function mkcd () { + mkdir -p $@ && cd ''${@:$#} + } + tre () { command tre "$@" -e && source "/tmp/tre_aliases_$USER" 2>/dev/null; } function gcd () {