Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# functions and variables
unset $(set | awk -F"[= ]" '/^\w*(RUBY|GEM|IRB|rvm|gem|rubies)\w*(=| \(\))/ {print $1}')
# aliases
unalias $(alias | awk -F"[= ]" '/rvm/ {print $2}')
# others
unset cd file_exists_at_url popd pushd
export PATH=$(echo $PATH | tr ':' '\n' | grep -v rvm | tr '\n' ':' | sed 's/:$//')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment