Skip to content

Instantly share code, notes, and snippets.

@mindware
Last active April 13, 2020 02:22
Show Gist options
  • Save mindware/e51a0488b59603bf486880646f4881da to your computer and use it in GitHub Desktop.
Save mindware/e51a0488b59603bf486880646f4881da to your computer and use it in GitHub Desktop.
auto ls and open command for ubuntu
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"
source ~/.rvm/scripts/rvm
alias rs='rake start'
alias open='xdg-open'
#function cd() { builtin cd "$@" && ls -G; }
export ENDCOLOR="\033[00m";
export STARTCOLOR="\033[01;32m";
function cd() { builtin cd "$@" && print "$STARTCOLOR`pwd`$ENDCOLOR" && ls -G; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment