Created
May 14, 2015 15:27
-
-
Save rummelonp/a2d1d09ebdbf3eb0e4f6 to your computer and use it in GitHub Desktop.
最低限の bash の設定
This file contains hidden or 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
# .bash_profile | |
# Get the aliases and functions | |
if [ -f ~/.bashrc ]; then | |
. ~/.bashrc | |
fi | |
# User specific environment and startup programs | |
RESET="\e[0m" | |
GREEN="\e[0;32m" | |
BLUE="\e[0;34m" | |
RED="\e[0;31m" | |
WHITE="\e[1;37m" | |
BASE_COLOR=$GREEN | |
export TERM=xterm-256color | |
export PS1="\$(if [[ \$? == 0 ]]; then echo \"${GREEN}(╹ω╹)\"; else echo \"${RED}(☓ω☓)\"; fi)${BASE_COLOR}\u@\h${WHITE}:${BLUE}\w${RESET}$ " | |
export EDITOR=vim | |
export LSCOLORS=exfxcxdxbxegedabagacad |
This file contains hidden or 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
# .bashrc | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
# User specific aliases and functions | |
alias ls='ls --color' | |
alias l='ls -1' | |
alias la='ls -1A' | |
alias ll='ls -1alF' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment