mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-13 03:12:21 +01:00
add clear screen and function to create directories and cd into them
This commit is contained in:
parent
5ee54032da
commit
eeb4bd3c81
1 changed files with 6 additions and 0 deletions
|
|
@ -50,6 +50,12 @@ alias rm='rm -i'
|
||||||
alias cp='cp -i'
|
alias cp='cp -i'
|
||||||
alias mv='mv -i'
|
alias mv='mv -i'
|
||||||
|
|
||||||
|
# clear screen
|
||||||
|
alias c='clear'
|
||||||
|
|
||||||
|
# make a directory and cd into it
|
||||||
|
function mkcd() { mkdir "$*"; cd "$*" }
|
||||||
|
|
||||||
# zsh is able to auto-do some kungfoo
|
# zsh is able to auto-do some kungfoo
|
||||||
# depends on the SUFFIX :)
|
# depends on the SUFFIX :)
|
||||||
if [ ${ZSH_VERSION//\./} -ge 420 ]; then
|
if [ ${ZSH_VERSION//\./} -ge 420 ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue