Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
2b03b951
"vscode:/vscode.git/clone" did not exist on "b890b36d1d8649f67b8524162d32b7b5f4fc4351"
Commit
2b03b951
authored
Dec 21, 2010
by
Derek Prior
Browse files
Added function to mkdir and immediately change to it
parent
4fadc302
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/directories.zsh
View file @
2b03b951
...
...
@@ -36,5 +36,9 @@ cd () {
alias
md
=
'mkdir -p'
alias
rd
=
rmdir
alias
d
=
'dirs -v'
# mkdir & cd to it
function
mcd
()
{
mkdir
-p
"
$1
"
&&
cd
"
$1
"
;
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment