aboutsummaryrefslogtreecommitdiff
path: root/functions/mcd.fish
diff options
context:
space:
mode:
Diffstat (limited to 'functions/mcd.fish')
-rw-r--r--functions/mcd.fish4
1 files changed, 4 insertions, 0 deletions
diff --git a/functions/mcd.fish b/functions/mcd.fish
new file mode 100644
index 0000000..2533622
--- /dev/null
+++ b/functions/mcd.fish
@@ -0,0 +1,4 @@
+function mcd --description 'Make and cd to a directory'
+ mkdir -p "$argv"
+ cd "$argv"
+end