Browse Source

upddate function mkcd

pull/1/head
10sr 11 years ago
parent
commit
7da46f2cbd
1 changed files with 8 additions and 2 deletions
  1. +8
    -2
      bashrc

+ 8
- 2
bashrc View File

@@ -496,8 +496,14 @@ tb(){
}

mkcd(){
mkdir -p $1
cd $1
if test -d "$1"
then
echo "Dir \"$1\" already exists."
else
mkdir -p "$1"
echo "Dir \"$1\" created."
fi
cd "$1"
}

if test -n "$TMUX" && null type reattach-to-user-namespace


Loading…
Cancel
Save