相關資源‎ > ‎

Linux config

My .bashrc setting

#Do not want to use vi
alias vi='emacs'  
alias e='emacs'

#Excellent tool to navigate directory
alias pu='pushd'
alias po='popd'
alias dirsv='dirs -v'

#Confirm before copy or move
alias cp='cp -i'
alias mv='mv -i'
alias rm='mv -f --target-directory=/home/iclin/.trash/'

#create tags
alias mktags='cd $CODEDIR && etags `find $CODEDIR -name "*.[h|c]" -or -name "*.\
cpp" -or -name "*.cc"` && cd -'

command to create ctags

find . -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.  > filelist
etags filelist



Type Chinese in Ubuntu 14
安裝fcitx 中文輸入法, 使用 Ctrl+Space(空格)  (或是Ctrl+Shift) 切換


























-uu-:---F1  .bashrc           (Shell-script[bash])--L1--All---------------------------------------------------
Indentation setup for shell type bash

Comments