Created
January 23, 2013 15:37
-
-
Save andrunix/4608270 to your computer and use it in GitHub Desktop.
grep path
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
andrunix@amp-laptop~$ GREP_OPTIONS="" \grep -rn 'PATH=' ~/.zlogin ~/.zshrc ~/.bash_profile ~/.bashrc | GREP_OPTIONS="" \grep -vE '[[:alnum:]_]PATH=|PATH=.*PATH' | |
grep: /Users/andrunix/.zlogin: No such file or directory | |
/Users/andrunix/.zshrc:37:export PATH=/Users/andrunix/local/bin:/Users/andrunix/.rvm/gems/ruby-1.9.2-p290/bin:/Users/andrunix/.rvm/gems/ruby-1.9.2-p290@global/bin:/Users/andrunix/.rvm/rubies/ruby-1.9.2-p290/bin:/Users/andrunix/.rvm/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/andrunix/android-sdk-mac_86/tools:/Applications/sshfs/bin:/usr/local/mysql/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment