Skip to content

Latest commit

 

History

History
107 lines (79 loc) · 3.25 KB

README.md

File metadata and controls

107 lines (79 loc) · 3.25 KB

On Clean Mac OS X

My Mac OS X setup manual.

1. Executable sudo without password.(using sudo into setup.sh)

$ sudo visudo
Password:

# User privilege specification
root    ALL=(ALL) ALL
%admin  ALL=(ALL) ALL
ryota.murakami ALL=(ALL) NOPASSWD: ALL

:wq

see:http://blog.bungu-do.jp/archives/2417

2 privilege

sudo chown -R ryota.murakami /usr/local

3. Install Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

4. clone dotfiles

cd ~
[email protected]:ryota-murakami/dotfiles.git

5. Kick setup.sh(Homebrew required)

cd dotfiles
./setup.sh

what's doing in setup.sh

  • generate dotfile symboliclinks at home directory.
  • install all homebrew packages in Brewfile.
  • setting fish-shell as a login shell.
    • re-open terminal to activation.
  • initialize git submodule.

7. Install Vim plugins

open .vimrc, execute folllowing.

:NeoBundleInstall

defined installed pulugins at .vimrc. git

call neobundle#begin(expand('~/.vim/bundle'))
    NeoBundle 'editorconfig/editorconfig-vim'
    ~
call neobundle#end()

8. Install Nodebrew

nodebrew is not provided by homebrew, therefore you have to setup along to the README. https://github.com/hokaccha/nodebrew

Extra. Any Manual Tasks

  • change ¥ to \ at OS X system config
  • install karabiner-elements
  • system prefefences > hidden dock
  • system prefefences > - to dark OS menu-bar & dock
  • terminal.app -> Preference -> Profiles -> Keybord -> ✔︎ Use Option as Meta Key
  • system prefefences > keybord > Shorcuts > MIsson Control > Show Notification Center ${F2}
  • System Preferences > Keybord > App Shortcut > Google Chrome.app > press + button of window bottom > type "Developer Tools" and set ^O as a shortcut
  • System Preferences > Keybord > App Shortcut > Others > type action "Log Out ryota..." > set cmd + option + q as shortcut
  • Set Unicode Hex Input as a input soruce to remove all option key combination
  • Remove cmd + shift + r shortcut from Be Focus Pro