[zsh] New alias: `tdir` to create and directly jump into a temporary directory

This commit is contained in:
Sebastian Schulze 2022-02-04 20:54:25 +01:00
parent 83e7886352
commit 7bd1905002
No known key found for this signature in database
GPG Key ID: F6BA63C6A7D3044E
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ alias alfaview-logfile="/usr/bin/env ls -d -- ~/.local/share/alfaview-staging/lo
alias ta="tmux attach -t \$(tmux ls -F '#{session_name}' | fzf)"
alias gf="git fetch -a && git rebase && git --no-pager today-all && echo -n '\n'"
alias gbb="BRANCH=\$(git for-each-ref refs/heads/ --format='%(refname:short)' | fzf); git fetch origin \${BRANCH} && git checkout \${BRANCH}"
alias tdir="take \$(mktemp -d --suffix=\".\$(basename \${PWD})\")"
# Global Aliases
alias -g B="|bat"