From e64c08eee0de2df165f50f88fc44f911fa125a12 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sun, 24 Nov 2013 02:58:07 +0900 Subject: [PATCH] cd show current directory --- shrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shrc b/shrc index 3bf8db1..e146648 100755 --- a/shrc +++ b/shrc @@ -449,6 +449,11 @@ isdarwin && alias updatedb="LC_ALL=C updatedb" # do not use locate installed by macports isdarwin && test -x /usr/bin/locate && alias locate="/usr/bin/locate" +cd(){ + command cd "$@" + pwd +} + # pad alias pad=notepad __safe_alias pad=gedit