summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-28 16:41:22 +0200
committerPaul Buetow <paul@buetow.org>2026-02-28 16:41:22 +0200
commita82b8f22cc5c1bd3c5116bfe6d80745f890ba643 (patch)
tree26c477db8208bac46fae370c2caaba053a68a0a8
parentd99d053a3fcf595c1e5b7008e3d49b38bb2c2e7a (diff)
Update
-rw-r--r--fish/conf.d/tmputils.fish6
1 files changed, 6 insertions, 0 deletions
diff --git a/fish/conf.d/tmputils.fish b/fish/conf.d/tmputils.fish
index 87d8bde..931fe45 100644
--- a/fish/conf.d/tmputils.fish
+++ b/fish/conf.d/tmputils.fish
@@ -10,6 +10,12 @@ function tmpdir
cd $dir
end
+function tmpnew
+ set -l name $argv[1]
+ tmpdir $argv
+ tmux::attach $name
+end
+
function tmpls
if not test -d $TMPUTILS_DIR
return