Skip to content

Instantly share code, notes, and snippets.

@sebacruz
Last active August 15, 2020 01:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sebacruz/7ae94f561333bf47be68210f78f5d75a to your computer and use it in GitHub Desktop.
Save sebacruz/7ae94f561333bf47be68210f78f5d75a to your computer and use it in GitHub Desktop.
Simple bash and vi configurations
export PS1="\n\[$(tput bold)\]\[$(tput sgr0)\]\[\033[38;5;242m\]\A\[$(tput sgr0)\]\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput bold)\]\[$(tput sgr0)\]\[\033[38;5;81m\]\w\[$(tput sgr0)\]\[$(tput sgr0)\]\[\033[38;5;15m\]\n\[$(tput bold)\]\[$(tput sgr0)\]\[\033[38;5;78m\]\\$\[$(tput sgr0)\]\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]";
export EDITOR='vim';
export LANG='en_US.UTF-8';
export LC_ALL='en_US.UTF-8';
export GREP_OPTIONS='--color=auto';
set number
set cursorline
set colorcolumn=80
set list
set ruler
set ignorecase
set smartcase
set hlsearch
set showmatch
set mat=2
set foldcolumn=1
set showmode
set title
set expandtab
set smarttab
set shiftwidth=4
set tabstop=4
syntax enable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment