Add mkcd function from omz
This commit is contained in:
parent
8fe4052f5a
commit
1e46e31b95
|
@ -185,6 +185,11 @@ in
|
||||||
cd "$DIR"
|
cd "$DIR"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# From omz
|
||||||
|
function mkcd () {
|
||||||
|
mkdir -p $@ && cd ''${@:$#}
|
||||||
|
}
|
||||||
|
|
||||||
tre () { command tre "$@" -e && source "/tmp/tre_aliases_$USER" 2>/dev/null; }
|
tre () { command tre "$@" -e && source "/tmp/tre_aliases_$USER" 2>/dev/null; }
|
||||||
|
|
||||||
function gcd () {
|
function gcd () {
|
||||||
|
|
Loading…
Reference in New Issue