Skip to content

Instantly share code, notes, and snippets.

@konitter
Last active December 17, 2015 07:39
Show Gist options
  • Save konitter/5574410 to your computer and use it in GitHub Desktop.
Save konitter/5574410 to your computer and use it in GitHub Desktop.
.bashrc
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
alias ls='ls -CFG'
alias la='ls -a'
alias ll='ls -CFal'
alias mv='mv -i'
alias rm='rm -i'
alias cp='cp -i'
alias vi="/Applications/MacVim.app/Contents/MacOS/Vim -g --remote-tab-silent"
export EDITOR='s -w'
export HISTSIZE=100000
export HISTCONTROL=ignoredups
export LANG='ja_JP.UTF-8'
export LC_ALL='ja_JP.UTF-8'
export LC_MESSAGES='ja_JP.UTF-8'
export NODE_PATH=/usr/local/lib/node:$PATH
export PATH=/usr/local/share/npm/bin:/sbin:/usr/sbin:~/bin:$PATH
if [ -f $(brew --prefix)/etc/bash_completion ]; then
. $(brew --prefix)/etc/bash_completion
fi
source ~/.git-completion.sh
source ~/.git-prompt.sh
GIT_PS1_SHOWDIRTYSTATE=true
GIT_PS1_SHOWSTASHSTATE=true
GIT_PS1_SHOWUNTRACKEDFILES=true
GIT_PS1_SHOWUPSTREAM=auto
export PS1='\[\033[1;33m\]\u@\h\[\033[0;32m\] \w\[\033[1;37m\]$(__git_ps1)\[\033[0;31m\] \$\[\033[00m\] '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment