1
0
Fork 0

zsh: add ta function

This commit is contained in:
tastytea 2024-01-14 15:18:27 +01:00
parent b52ba9bf92
commit d4d4f6f642
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 6 additions and 0 deletions

6
.config/zsh/functions/ta Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env zsh
# the alias, but as a script so it can be started when the terminal starts
setopt LOCAL_OPTIONS ERR_RETURN NO_UNSET PIPE_FAIL
tmux attach -t tastytea || tmux new-session -s tastytea