Skip to content

Instantly share code, notes, and snippets.

@shiroyuki
Last active October 5, 2015 14:18
Show Gist options
  • Save shiroyuki/2819364 to your computer and use it in GitHub Desktop.
Save shiroyuki/2819364 to your computer and use it in GitHub Desktop.
Bash Profile
# Homebrew code
export PATH=~/bin:$PATH
#export PYTHONPATH=~/Projects/Tori:~/Projects/Imagination:~/Projects/Kotoba:$PYTHONPATH
# Common
export SVN_EDITOR=vim
HISTCONTROL=ignoredups:ignorespace
shopt -s histappend
HISTSIZE=1000
HISTFILESIZE=2000
shopt -s checkwinsize
[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)"
PS1='\n${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\n\$ '
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment