summaryrefslogtreecommitdiff
path: root/dot_config/zsh/zshrc
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/zsh/zshrc')
-rw-r--r--dot_config/zsh/zshrc7
1 files changed, 1 insertions, 6 deletions
diff --git a/dot_config/zsh/zshrc b/dot_config/zsh/zshrc
index f7d4cc2..f0c99e2 100644
--- a/dot_config/zsh/zshrc
+++ b/dot_config/zsh/zshrc
@@ -41,16 +41,11 @@ if [[ -x =luarocks ]] {
}
## Functions
+autoload -Uz tt
t() {
mkdir -p /tmp/t
cd /tmp/t
}
-tt() {
- local dir=$(mktemp -d)
- [ -d "$dir" ] || return 1
- cd "$dir"
- trap "rm -rf '$dir'" EXIT
-}
# you may want to:
# set up jump/zoxide/etc