Comfortable environment On Linux Shell
After installing new Linux or Unix system I like to edit /etc/profile or $HOME/.bash_profile and add following lines:
alias vi=”vim -o”
alias ll=”ls -l”
alias la=”ls -la”
export EDITOR=vi
First line is to use vim instead of vi. Second and third lines will create two aliases for ls -l and ls -la commands. And forth line is to use vi always as system editor.
Recent Comments