Created
April 6, 2014 10:10
-
-
Save reiki4040/10004006 to your computer and use it in GitHub Desktop.
.bashrc memo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# alias | |
alias ls='ls -G' | |
alias ll='ls -l' | |
alias la='ls -lA' | |
alias ..='cd ..' | |
alias grep='grep --color' | |
# git completion | |
if [ -f /usr/local/etc/bash_completion.d/git-prompt.sh ]; then | |
. /usr/local/etc/bash_completion.d/git-prompt.sh | |
fi | |
if [ -f /usr/local/etc/bash_completion.d/git-completion.bash ]; then | |
. /usr/local/etc/bash_completion.d/git-completion.bash | |
fi | |
# prompt message | |
# [hh:mm:ss] user@host:currentdir]$ | |
# [12:22:33 user@hostname:~]$ command... | |
PS1='\[\033[01;32m\][\t \u@\h\[\033[00m\]:\[\033[01;34m\]\W$(__git_ps1)]\[\033[00m\]\$ ' | |
# Env variable | |
export LANG=ja_JP.utf8 | |
export LC_ALL='ja_JP.UTF-8' | |
export LC_MESSAGES='ja_JP.UTF-8' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment