diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-03-05 13:48:56 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-03-05 13:48:56 +1300 |
commit | 939fa6b778577dcdbb7b7d50c5cad5b5efc3344a (patch) | |
tree | 7544d325656d5fa116b76fe7fcdb83955d7598a3 /bash | |
parent | Tell shellcheck it's wrong about this line (diff) | |
download | dotfiles-939fa6b778577dcdbb7b7d50c5cad5b5efc3344a.tar.gz dotfiles-939fa6b778577dcdbb7b7d50c5cad5b5efc3344a.zip |
md() shortcut for mkdir(1)
Diffstat (limited to 'bash')
-rw-r--r-- | bash/bashrc.d/md.bash | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bash/bashrc.d/md.bash b/bash/bashrc.d/md.bash new file mode 100644 index 00000000..d32cf488 --- /dev/null +++ b/bash/bashrc.d/md.bash @@ -0,0 +1,5 @@ +# mkdir(1) shortcut +md() { + mkdir -p -- "$@" +} + |