From ecfa87f82f2a9fbc40f84d64cb8fda4038eced48 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 31 Aug 2015 12:42:33 -0300 Subject: Move cd function into .profile --- bashrc.dot.link | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'bashrc.dot.link') 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 -- cgit v1.2.3