summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorache <ache@ache.one>2024-08-09 04:27:31 +0200
committerache <ache@ache.one>2024-08-09 04:27:31 +0200
commitc2f43f1c5304e0e00933aa828f9bf98cfc436c5a (patch)
tree83ba7d342a3fdebd16868753c64bb6f66f220a9f /functions
parentUse kitten katty ssh wrapper when possible (diff)
Make a directory and jump in it command mkd
Diffstat (limited to 'functions')
-rw-r--r--functions/mkd.fish4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions/mkd.fish b/functions/mkd.fish
new file mode 100644
index 0000000..e3d892f
--- /dev/null
+++ b/functions/mkd.fish
@@ -0,0 +1,4 @@
+function mkd -d "Make a directory and jump in it"
+ mkdir -p $argv
+ pushd $argv[-1]
+end