Skip to content

Instantly share code, notes, and snippets.

@l-modolo
Last active August 29, 2015 14:23
Show Gist options
  • Save l-modolo/f72ca17613d12ff810e7 to your computer and use it in GitHub Desktop.
Save l-modolo/f72ca17613d12ff810e7 to your computer and use it in GitHub Desktop.
.bashrc file
#append history file
shopt -s histappend
#check windows size
shopt -s checkwinsize
alias ls='ls'
alias ll='ls -salh'
alias java32='/opt/bin32-jre/jre/bin/java'
alias yaourtfull='yaourt -Syu --devel --aur'
alias dl='axel -n 20 -a'
alias mysql='sudo /etc/rc.d/mysqld'
alias apache='sudo /etc/rc.d/httpd'
alias du='du -sh'
alias rsync='rsync -ah --progress'
alias tar.gz='tar -zcvf'
alias tar.bz2='tar -jcvf'
alias make='make -j8'
alias psc='ps xawf -eo pid,user,cgroup,args'
alias open='xdg-open'
alias mount-pi='sudo udev-auto-mount.sh sda1'
alias umount-pi='sudo udev-unmounter.sh'
complete -cf sudo
export EDITOR="vim"
vim()
{
local STTYOPTS="$(stty --save)"
stty stop '' -ixoff
command vim "$@"
stty "$STTYOPTS"
}
source ~/.liquidprompt/liquidprompt
# Setting PATH for Python 3.4
# The orginal version is saved in .bash_profile.pysave
PythonLib="/Library/Frameworks/Python.framework/Versions/3.4/bin:${PATH}"
ScriptSh="~/sh"
export PATH
export PATH=$PATH:$PythonLib:$ScriptSh
export GOPATH=$GOPATH:$ScriptSh
WORKINGDIR="/home/laurent/Documents/yelow_fever/"
PBILWORKINGDIR="/pandata/modolo/yelow_fever/"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment