summaryrefslogtreecommitdiff
path: root/fish/conf.d
diff options
context:
space:
mode:
Diffstat (limited to 'fish/conf.d')
-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