메뉴 건너뛰기

Dev tips

Linux Server 현재 .bash_profile, .bashrc 설정

taknim 2016.02.22 18:09 조회 수 : 772 추천:152

# .bashrc

# User specific aliases and functions

alias vi='vim'
alias cls='clear'
alias ll='ls -alF';
alias l='ls -alF';
alias ..='cd ..';
alias ...='cd ../..';
alias ....='cd ../../..';
alias ~='cd ~';
alias work='cd ~/work';
alias www='cd ~/www';

# Source global definitions
export CLICOLOR=1

# /etc/bashrc 추가
CLICOLOR=1
source ~/.bash_profile

# PS1='[\u@\h:\w]\$ '
PS1='[\[\e[0;33m\]\u\[\e[0m\]@\[\e[0;32m\]\h\[\e[0m\]:\[\e[0;36m\]\w\[\e[0m\]]\$ '