diff options
-rw-r--r-- | bashrc.dot.link | 11 | ||||
-rw-r--r-- | terminal.dot.link | 4 |
2 files changed, 13 insertions, 2 deletions
diff --git a/bashrc.dot.link b/bashrc.dot.link index 64afdaa..ed3e361 100644 --- a/bashrc.dot.link +++ b/bashrc.dot.link @@ -2,5 +2,16 @@ # Bash rc file # +# See http://superuser.com/questions/90535/how-do-i-turn-of-auto-echo-in-bash-when-i-cd +function cd { + if [ -z "$*" ]; then + destination=~ + else + destination=$* + fi + + builtin cd "${destination}" > /dev/null +} + # Load the profile . $HOME/.profile diff --git a/terminal.dot.link b/terminal.dot.link index bda0e57..941c005 100644 --- a/terminal.dot.link +++ b/terminal.dot.link @@ -6,8 +6,8 @@ # Load ANSI Art #cat $HOME/themes/ans/slack.ans -# Make sure to load the profile -source $HOME/.profile +# Load the default bash initialization +source $HOME/.bashrc # Default window title TITLE="terminal" |