# START configuring the vim for the root user
#----------------------------------------------------------
# src:
mkdir -p ~/.vim/colors/
# copy vim settings conf file
cp /tmp/.vimrc ~/.vimrc
# copy color scheme file
cp -v /tmp/.vim/colors/elflord.vim ~/.vim/colors/
# set proper permissions
chown $LOGNAME:$LOGNAME /~/.vim/colors/elflord.vim
# check the terminal colors
infocmp xterm-256color
# output
infocmp xterm-256color > ~/xterm-256color.ti
infocmp screen-256color
infocmp screen-256color>~/screen-256color.ti
# check the terminal
echo $TERM
echo $SSH_TTY
#check the availabiliy of the terminfo descriptions comparer binary
which infocmp
# check the availability of the terminfo entry-description compiler
which tic
#compile
tic ~/xterm-256color.ti
tic ~/screen-256color.ti
# if you are using cygwin check from the mi
Alt + Space , Options , Terminal xterm-256color
# STOP configuring the vim for the root user
#----------------------------------------------------------
No comments:
Post a Comment
- the first minus - Comments have to be moderated because of the spammers
- the second minus - I am very lazy at moderating comments ... hardly find time ...
- the third minus - Short links are no good for security ...
- The REAL PLUS : Any critic and positive feedback is better than none, so your comments will be published sooner or later !!!!