From 5e46cd874d495706c8a0c781063cc9eeb924915b Mon Sep 17 00:00:00 2001 From: David Aizenberg Date: Mon, 7 Jul 2014 17:54:39 +0100 Subject: [PATCH] Tweak function behaviour --- .bashrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.bashrc b/.bashrc index cb31e99..8cd1b04 100644 --- a/.bashrc +++ b/.bashrc @@ -37,9 +37,9 @@ alias reload='source ~/.bashrc' # reload bash config. #Automatically do an ls after each cd cd() { if [ -n "$1" ]; then - builtin cd "$@" && ls + builtin cd "$@" && ls -hF else - builtin cd ~ && ls + builtin cd ~ && ls -hF fi } # Get IP (call with myip)