diff options
author | Joey Hoer <joey@gaugeinteractive.com> | 2014-11-05 12:16:36 -0500 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2014-11-05 18:19:26 +0100 |
commit | b740cb4f6c7cec3780866d69cbf60542c7a7494d (patch) | |
tree | ac6fc6b45a015952d9d9d6360f2ab2424f459816 | |
parent | 7010a15b06f0762e44db85a5eac8d7be89cbfa2a (diff) | |
download | dotfiles-b740cb4f6c7cec3780866d69cbf60542c7a7494d.tar.gz dotfiles-b740cb4f6c7cec3780866d69cbf60542c7a7494d.tar.bz2 dotfiles-b740cb4f6c7cec3780866d69cbf60542c7a7494d.zip |
.functions: Make `mkd` `cd` into the last directory in the list
…rather than the first.
Closes #447 and #450.
-rw-r--r-- | .functions | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ function calc() { # Create a new directory and enter it function mkd() { - mkdir -p "$@" && cd "$@"; + mkdir -p "$@" && cd "$_"; } # Change working directory to the top-most Finder window location |