Custom OSX
- Remove shift key augmentation for Mission Control animation
- Enable the three finger drag in Accessibility
Terminal
- Autocomplete
echo "set completion-ignore-case On" >> ~/.inputrc
- install command line tools in XCode
xcode-select --install
zsh
- install .oh-my-zsh
- symlink for setting zsh
## for installation of zsh
ln -s Dropbox/MacSetting/Terminal/cyrusn ./.cyrusn
ln -s ~/Dropbox/MacSetting/Terminal/zsh/.zshrc ~/
ln -s ~/Dropbox/MacSetting/Terminal/zsh/.zsh-custom ~/
## for installation of coreutil/.dir_colors
ln -s ~/Dropbox/MacSetting/Terminal/coreutil/.dir_colors ~/
for further customisation
- add
export
at~/Dropbox/MacSetting/Terminal/zsh/.zsh-custom/export.zsh
- add
alias
at~/Dropbox/MacSetting/Terminal/zsh/.zsh-custom/alias.zsh
homebrew package
my automatic script for installation homebrew package
https://github.com/cyrusn/cyrusn-terminal-setting
Nodejs Setting
set the bin folder in ${HOME}
# .npmrc
# reference: https://gist.github.com/leesei/6591437
prefix = ${HOME}/.npm-packages
Find all global packages for install
echo "$(\ls $(npm root -g) | tr -s '\t\n' ' ')"
npm list -g
npm install -g eslint eslint-plugin-react gulp hexo hexo-cli http-server jshint jsxhint lodash node-gyp nodemon
export path at .bashrc
or .zshrc
or equivalent
export NODE_PATH=$HOME/.npm-packages/lib/node_modules
export PATH=$HOME/.npm-packages/bin:$PATH
create symlink
cd ~/
ln -s ~/Dropbox/MacSetting/Terminal/vim ~/.vim
ln -s ~/Dropbox/MacSetting/atom/ ~/.atom
ln -s ~/Dropbox/.npm-packages/ ~/
sublimeText
cd ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/
ln -s ~/Dropbox/MacSetting/sublimetext/User ./
custom setting on osx
- set terminal color theme