dotfiles
dotfiles copied to clipboard
👨💻 My Mac OS X setup manual
On Clean Mac OS X
My Mac OS X setup manual.
- 1. Executable
sudowithout password.(usingsudointo setup.sh) - 2. privilege
- 3. Install Homebrew
- 4. clone dotfiles
- 5. Kick
setup.sh(Homebrew required) - 6. Setup rbenv
- 7. Install Vim plugins
- 8. Install Nodebrew
- Extra. Any Manual Tasks
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
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)"
brew tap Homebrew/brewdler
brew bundle (start install packages witch is written in Brewfile)
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.
- in order to neobundle.vim.
6. Setup rbenv
Setup rbenv along to README manual. https://github.com/rbenv/rbenv#homebrew-on-macos
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
^Oas a shortcut - System Preferences > Keybord > App Shortcut > Others > type action "Log Out ryota..." > set
cmd + option + qas shortcut- OSX default shortcut
cmd + option + qof "Log Out ryota..." is conflict my custom editor's "close project" shortcut - See: https://apple.stackexchange.com/questions/210517/disable-shift-cmd-q-for-logout
- OSX default shortcut
- Set
Unicode Hex Inputas a input soruce to remove all option key combination