At your home directory run
curl https://raw.githubusercontent.com/joeangel/rc-files/master/setup.sh | bash
Your origin rc-files will move to rc_backup
https://github.com/bobthecow/git-flow-completion/wiki/Install-Bash-git-completion
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
sudo apt-get install exuberant-ctags
in vim, run:
:BundleInstall
At your home directory run
curl https://raw.githubusercontent.com/joeangel/rc-files/master/setup_ubuntu.sh | bash
Your origin rc-files will move to rc_backup.
curl https://raw.githubusercontent.com/joeangel/rc-files/master/install_nvm_ubuntu.sh | bash
At your home directory run
curl https://raw.githubusercontent.com/joeangel/rc-files/master/setup_aws_ubuntu.sh | bash
Delete from ~/.bashrc or ~/.bashprofile
LANGUAGE=en_US:en
LANG=en_US.UTF-8
Add in ~/.bashrc
export LANGUAGE=
export LANG="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
export LC_ALL=
sudo locale-gen zh_TW.UTF-8
# sudo dpkg-reconfigure locales
https://github.com/creationix/nvm#manual-install
- Merge HackPad: Mac Init to READEME.md
- check os for custom setup.sh and .bashrc
# ref: http://stackoverflow.com/a/8597411
if [[ "$OSTYPE" == "linux-gnu" ]]; then
# ...
elif [[ "$OSTYPE" == "darwin"* ]]; then
# Mac OSX
elif [[ "$OSTYPE" == "cygwin" ]]; then
# POSIX compatibility layer and Linux environment emulation for Windows
elif [[ "$OSTYPE" == "msys" ]]; then
# Lightweight shell and GNU utilities compiled for Windows (part of MinGW)
elif [[ "$OSTYPE" == "win32" ]]; then
# I'm not sure this can happen.
elif [[ "$OSTYPE" == "freebsd"* ]]; then
# ...
else
# Un