Last active
August 29, 2015 14:18
-
-
Save amosrivera/cbe9164806014d300601 to your computer and use it in GitHub Desktop.
Cd && ls every time you cd into a directory.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# source: http://unix.stackexchange.com/a/20413 | |
# prevent loading the alias if it's not an interactive shell | |
[ -z "$PS1" ] && return | |
function cd { | |
builtin cd "$@" && ls -F | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Lo agregue en el .bashrc en la mac y no funciona.