diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2015-08-31 12:42:33 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2015-08-31 12:42:33 -0300 |
commit | ecfa87f82f2a9fbc40f84d64cb8fda4038eced48 (patch) | |
tree | 6f19429e7b7bf5248eef0719f4df29f630fa7854 /bashrc.dot.link | |
parent | 66e883dd20b7076b5472708e829183b465ac8ffd (diff) | |
download | profile-ecfa87f82f2a9fbc40f84d64cb8fda4038eced48.tar.gz profile-ecfa87f82f2a9fbc40f84d64cb8fda4038eced48.tar.bz2 |
Move cd function into .profile
Diffstat (limited to 'bashrc.dot.link')
-rw-r--r-- | bashrc.dot.link | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/bashrc.dot.link b/bashrc.dot.link index ed3e361..ab85f71 100644 --- a/bashrc.dot.link +++ b/bashrc.dot.link @@ -1,17 +1,6 @@ # -# Bash rc file +# Bash initialization # -# 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 |