# add color to my prompt
force_color_prompt=yes
# aliases for ls
alias ls='ls --color=auto'
# MAC OS
# alias ls='ls -G'
# red username@hostname purple working dir \n prompt
export PS1='\e[0;31m[\u@\H] \e[0;35m[\w] \n\e[0;32m->\$ \e[m'
# make vi default
export EDITOR=vim
# Fix my PATH
PATH=.:$PATH
# make grep highlight a light shade
export GREP_OPTIONS='--color=auto' GREP_COLOR='100'
# don't put duplicate lines in the history. See bash(1) for more options
# ... or force ignoredups and ignorespace
HISTCONTROL=ignoreboth
# for setting history length see HISTSIZE and HISTFILESIZE in bash(1)
HISTSIZE=2000
HISTFILESIZE=2000
Vimrc
The hidden vimrc file is not always there by default.
In the terminal.
$ cd ~
$ vim .vimrc
Add the lines..
syntax on
colorscheme desert
No comments:
Post a Comment