Thank you for your help, I solved it!
kind regards!
Renlin Li
2011/6/27 Gary Johnson <garyjohn@spocom.com>
On 2011-06-27, lirenlin wrote:
> Hi Gary,
>
> Thank you for your tips! that's exactaly the solution! I install vim
> and vim-gnome separately.
> Ps. do you know the place where PATH is defined? I used to install
> some software in my ubuntu linux, now I uninstalled it, but the the
> executable path is still in the PATH variable, I want to clear it. it
> seems ubuntu has change a lot from main stream.
PATH is typically set for all users in /etc/profile. It can be set
for all users from other places as well, but all the places I know
of are under /etc, so you could find those places by executing
grep -R '\<PATH=' /etc
You may want to execute that using sudo, as
sudo grep -R '\<PATH=' /etc
to avoid error messages about permission denied and to make sure you
can look in every file.
For individual users, PATH in usually set in ~/.profile or
~/.bash_profile--some profile file that is read only once per login
so that your PATH doesn't keep growing each time you launch a shell.
In some cases, PATH is set in the shell's rc file, e.g., ~/.bashrc
or ~/.kshrc
Regards,
Gary
--
天行健,君子以自强不息!
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment