Skip to content

Commit

Permalink
updated bashrc and vimrc
Browse files Browse the repository at this point in the history
  • Loading branch information
j0hn committed Oct 12, 2011
1 parent 9b5c101 commit 38b6cd5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ fi

color_prompt=yes

alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
# Utils
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
Expand All @@ -22,10 +20,19 @@ alias cp='cp -i'
alias py2html='pygmentize -f html -O full'
alias pushd="pushd ."
alias mountiso="sudo mount -o loop -t iso9660"
# Mplayer
alias mplayer="mplayer -zoom -vo x11"
# Clipboard
alias xclip="xclip -selection c"
# moving in dirs
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias ......="cd ../../../../.."

export EDITOR=vim
export BROWSER=google-chrome
export PYTHONSTARTUP=~/.pythonrc

# If not running interactively, don't do anything
Expand Down
2 changes: 1 addition & 1 deletion .vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ set smartindent "Use the smart indent
set smarttab "Inserts apropiate number of spaces on <Tab>
set number "Display line numbers
set cpoptions+=$ "Show $ char when changing a word
set wildmenu "Popup a menu on autocomplete commands
"set wildmenu "Popup a menu on autocomplete commands
set wildignore=*.o,*.pyc,*~ "Ignoring unnecessary files
set directory=/tmp "save .swp files on /tmp directory
set linebreak "Wrap long lines at words
Expand Down

0 comments on commit 38b6cd5

Please sign in to comment.