https://github.com/ryota-murakami/dotfiles
👨💻 My Mac OS X setup manual
https://github.com/ryota-murakami/dotfiles
dotfiles fish fishshell neobundle
Last synced: about 1 year ago
JSON representation
👨💻 My Mac OS X setup manual
- Host: GitHub
- URL: https://github.com/ryota-murakami/dotfiles
- Owner: ryota-murakami
- License: mit
- Created: 2015-08-17T05:08:17.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2025-05-08T01:40:33.000Z (about 1 year ago)
- Last Synced: 2025-05-08T01:46:26.623Z (about 1 year ago)
- Topics: dotfiles, fish, fishshell, neobundle
- Language: Shell
- Homepage:
- Size: 75.3 MB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
On Clean Mac OS X
=====================
My Mac OS X setup manual.
- [1. Executable `sudo` without password.(using `sudo` into setup.sh)](#1-executable-sudo-without-passwordusing-sudo-into-setupsh)
- [2. privilege](#2-privilege)
- [3. Install Homebrew](#3-install-homebrew)
- [4. clone dotfiles](#4-clone-dotfiles)
- [5. Kick `setup.sh`(Homebrew required)](#5-kick-setupshhomebrew-required)
- [6. Install Vim plugins](#7-install-vim-plugins)
- [7. Install Nodebrew](#8-install-nodebrew)
- [Extra. Any Manual Tasks](#extra-any-manual-tasks)
## 1. Executable `sudo` without password.(using `sudo` into setup.sh)
```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
```sh
sudo chown -R ryota.murakami /usr/local
```
## 3. Install Homebrew
```sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
## 4. clone dotfiles
```sh
cd ~
git@github.com:ryota-murakami/dotfiles.git
```
## 5. Kick `setup.sh`([Homebrew](https://github.com/ryota-murakami/dotfiles/blob/master/README.md#3-install-homebrew) required)
```sh
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.
## 7. Install Vim plugins
open `.vimrc`, execute folllowing.
```sh
:NeoBundleInstall
```
defined installed pulugins at `.vimrc`.
git
```vim
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
- OSX default shortcut `cmd + option + q` of "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
- Set `Unicode Hex Input` as a input soruce to remove all option key combination
- Remove `cmd + shift + r` shortcut from Be Focus Pro