Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 month ago
JSON representation

👨‍💻 My Mac OS X setup manual

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 ~
[email protected]: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