How to set colorscheme for a shell while/after logging in?
I am trying to put the below in a file .vimrc and sourced the file, however when i vi any file it is not showing/reflecting color scheme i wanted, Is there any way i can make this work? we use common application account to log in and by default it is CSH and later we change the shell to KSH. I want to explicitly change this only for my session.
Does anyone have a simple method of logging all shell commands typed by a user (csh in our case)?
- I could enable auditing, but this would be overkill
- I could enable process accounting, but AFAIK, this does not log arguments
Thanks all. (2 Replies)
I wanted to point this out. It took me a long time figure out how to find what color schemes I have.
How to use a vi color scheme | vi vim color scheme colorscheme | devdaily.com
I recommend just using this command. Every system that I have tried has desert.vim so that is why I searched for... (0 Replies)
SUSE Linux Enterprise Server v11
Hi guys,
I don't have root access. So, I can't change the default colorscheme for my vim editor.
I do have an environment variable for my id that says:
EDITOR=/usr/bin/vi
export EDITOR
I tried adding /usr/share/vim/vim72/colors/desert.vim to it.... (2 Replies)
I have an Ubuntu 12.04 LTS server running GNOME shell,that I occassionly have to remotely access to perform some maintenance. I usually vpnc into the network and then simply use vncviewer to access the Gnome GUI desktop for testing,given that the account is logged in. The other day I had to reboot... (4 Replies)
If I run the below code... it will login into the router and then changes to privilege mode and then stores the running configuration information to an array.
In this program, I have included the username and password .
In case the username and password is wrong.. it will re login for 2 times... (0 Replies)
Below is the code.
I need to login into the router if the 1st set of credentials are correct..
if wrong... then it has to check with 2nd set of credentials..
=> if the credentials are correct... then it should continue..
=> if the credentials are wrong(should not check for 2nd time... then... (0 Replies)
Hi,
I am looking for a shell script which serves the below purpose.
Please find below the algorithm for the same and any help on this would be highly appreciated.
1)set of strings need to be replaced among set of files(directory may contain different types of files)
2)It should search for... (10 Replies)