Skip to content

joeangel/rc-files

Repository files navigation

Install

Mac

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

Install Bash git completion

https://github.com/bobthecow/git-flow-completion/wiki/Install-Bash-git-completion

vim

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
sudo apt-get install exuberant-ctags

in vim, run:

:BundleInstall

Ubuntu

Setup

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.

Install nvm

curl https://raw.githubusercontent.com/joeangel/rc-files/master/install_nvm_ubuntu.sh | bash

Ubuntu for aws

Setup

At your home directory run

curl https://raw.githubusercontent.com/joeangel/rc-files/master/setup_aws_ubuntu.sh | bash

LANG

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

nvm

https://github.com/creationix/nvm#manual-install

TODO

  1. Merge HackPad: Mac Init to READEME.md
  2. 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published