diff --git a/shells/zshrc b/shells/zshrc index 2f2a361..29bb189 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -347,6 +347,9 @@ fi alias -g nify=" > /dev/null 2>&1 &" alias -g nifyd=" > /dev/null 2>&1 & disown" alias -g L="2>&1|less" +if ex mktemp; then + alias mtmp='pushd "$(mktemp -d)" >/dev/null' +fi if ex rg; then alias -g G='|& rg' alias rg='rg -i'