Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function cd() {
- new_directory="$*";
- if [ $# -eq 0 ]; then
- new_directory=${HOME};
- fi;
- builtin cd "${new_directory}" && /bin/ls --color
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement