2
rated 0 times
[
2]
[
0]
/ answers: 1 / hits: 6788
/ 2 Years ago, tue, june 21, 2022, 11:59:49
I've dug around forums trying to find a way to get rid of some default items in my path, but to no avail. Here is what it gives right now:
/home/blaine/.rvm/gems/ruby-2.0.0-p247/bin:/home/blaine/.rvm/gems/ruby-2.0.0-p247@global/bin:/home/blaine/.rvm/rubies/ruby-2.0.0-p247/bin:/home/blaine/.rvm/bin:/home/blaine/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
And the offending items are the the two with games
in them:
:/usr/games:/usr/local/games
neither of which I use, but that really isn't the core of my question. I want to get rid of these items (and to know how to do similarly in the future), but I can't find where these defaults are being set. There's no mention of PATH
when I grep these files:
/etc/profile
/etc/profile.d/*
~/.bashrc
~/.bash_profile
I'm using Ubuntu 13.04
More From » 13.04