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]
This commit is contained in:
parent
c4c9abc2b6
commit
87d56a95b4
2 changed files with 2 additions and 2 deletions
|
@ -126,7 +126,7 @@ Functions
|
|||
- `cdls` changes to a directory and lists its contents.
|
||||
- `dut` displays the grand total disk usage using human readable units.
|
||||
- `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.
|
||||
- `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.
|
||||
function mkdcd {
|
||||
function mcd {
|
||||
[[ -n "$1" ]] && mkdir -p "$1" && builtin cd "$1"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue