I’ve copied the stuff helps me to have my home Linux systems comfortable for own personal taste and use.
VIM
My preference for editing text is VIM, it was the first I learned in a HP-UX and SCO and it’s present on every *NIX variant. To get it with colors, numbered lines, syntax highlighting and cursor blinking I type this into my .vimrc file (originally picked from Doug Black – A good vimrc):
" from https://dougblack.io/words/a-good-vimrc.html
set cursorline " highlight current line
set number " show line numbers
" syntax enable " enable syntax processing
set showmatch " highlight matching [{()}]
"set background=black " darker looks better with putty
:highlight Normal ctermfg=grey ctermbg=darkblue
BASH
I’m getting use -lately- to avoid aliases in bash shell, so I removed from previous configuration files. My home .bashrc looks very simple, I’ve only chage my prompt for root user and the command line for use VIM:
# ------------
# My own stuff
# ------------
set -o vi
# Everybody should use this shit
export PS1="[\[\033[41;1;37m\]\u\[\033[0m\]@\h \W]$ "
XTerm
One of the first thing I do when I log into a windows environment is to open an XTerm. No, I do not open a gnome-terminal. XTerm is lighter, faster to start and as soon as I log in I run the screen
command inside my XTerm.
Second thing I used to do is to make the screen longer because I prefer long screen to read and avoid scrolling or redirection to a pager command. So, depending on what XTerm and what graphical environment are you using this following line may run or not:
XTerm*geometry: 79x80