1
0
Fork 0

Changed mkdcd to mcd

`mcd` is much easier (to me, at least) to type and remember than mkdcd
and hasn't (in my experience) gotten in the way of anything else I've
needed to use.

[ticket: X]
pull/666/head
vrtcl1dvoshun 12 years ago
parent c4c9abc2b6
commit 87d56a95b4

@ -126,7 +126,7 @@ Functions
- `cdls` changes to a directory and lists its contents. - `cdls` changes to a directory and lists its contents.
- `dut` displays the grand total disk usage using human readable units. - `dut` displays the grand total disk usage using human readable units.
- `find-exec` finds files and executes a command on them. - `find-exec` finds files and executes a command on them.
- `mkdcd` makes a directory and changes to it. - `mcd` makes a directory and changes to it.
- `popdls` pops an entry off the directory stack and lists its contents. - `popdls` pops an entry off the directory stack and lists its contents.
- `pushdls` pushes an entry onto the directory stack and lists its contents. - `pushdls` pushes an entry onto the directory stack and lists its contents.

@ -144,7 +144,7 @@ alias http-serve='python -m SimpleHTTPServer'
# #
# Makes a directory and changes to it. # Makes a directory and changes to it.
function mkdcd { function mcd {
[[ -n "$1" ]] && mkdir -p "$1" && builtin cd "$1" [[ -n "$1" ]] && mkdir -p "$1" && builtin cd "$1"
} }

Loading…
Cancel
Save