setup .bashrc

按照下列方式設定,讓系統可以使用~/bin的script

1. ~/.bash_profile
通常 .bash_profile 預設會調用 .bashrc
在 ~/.bash_profile 會看到下列程式碼,如沒有可以加入下列程式碼
```
if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi
```
2. ~/.bashrc
將自己常用的script 放在 ~/bin 下
再加入 PATH 系統變數
```
export PATH=~/bin:$PATH
```

留言

這個網誌中的熱門文章

[讀書心得] 下班後的黃金八小時

日本上班族 DokGen 部落格值得反覆看的文章