본문 바로가기

개발

터미널 명령어

src폴더 밑에 entry.js와 lib.js 를 만들고 싶을 때

touch src/{entry,lib}.js



현재 path를 finder에서 열고 싶을 때

open .



세팅하기

Setting

$ nano .bash_profile 
  • ctrl+O to save
  • ctrl+X to Exit

my .bash_profile

export PS1="\[\e[32;1m\]\W \[\e[36;1m\]\u$ \[\e[0m\]"
export CLICOLOR=1
export LSCOLORS=DxFxBxDxdxegedabagacad
alias ls='ls -GFh'
  • PS1 : path and username setting