.bash_profile - noweaver/odds-and-ends GitHub Wiki

.bash_profile

기본

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
	. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME

version 1

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
# User specific environment and startup programs

version 2

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs
alias ll="ls -al"
#alias ls="ls -altrh"
alias ls='ls -FG'

export PS1="\[\e[36;1m\]\u@\[\e[32;1m\]\h:\[\e[31;1m\]\W:> \[\e[0m\]"
export TERM=linux
#export LC_MESSAGES=en_US


export PYENV_ROOT="$HOME/.pyenv"
eval "$(pyenv init -)"

export PATH="$PYENV_ROOT/bin:$PATH"

version3

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi

# User specific environment and startup programs
export PS1="\[\e[36;1m\]\u@\[\e[32;1m\]\h:\[\e[31;1m\]\W:> \[\e[0m\]"

export PATH="/usr/local/bin:$PATH"

# ls 명령어 색상 표시 여부 & 색상 설정
export CLICOLOR=1
export LSCOLORS=DxFxBxDxCxegedabagacad

alias ll='ls -lh'                       # List all files colorized in long format
alias la="ls -lha"                      # List all files colorized in long format, including dot files

# Python 환경
export PYENV_ROOT="$HOME/.pyenv"
eval "$(pyenv init -)"

export PATH="$PYENV_ROOT/bin:$PATH"

CONDA_HOME="$PYENV_ROOT/versions/anaconda3-5.3.0"
export PATH="$CONDA_HOME/bin:$PATH"