All Posts Tagged “mac”

oh-my-zsh

oh-my-zsh is a community-driven framework for managing zsh configuration.

ref:
https://github.com/robbyrussell/oh-my-zsh

Installation

$ curl -L https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh | sh
$ brew install zsh-completions

Plugins

ref:
https://github.com/vinta/dotfiles/blob/master/zshrc
https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins
https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins-Overview

$ alias
$ tab
$ ..
$ ~

j, z, fasd

這幾個指令都需要你曾經 cd 到該目錄作為歷史紀錄之後才能用
檔案的話需要被 vim 或 sublime 過

$ cd ~/Project
$ j pro
$ o pro

$ sublime /private/etc/hosts
$ sublime ~/.ssh/config
$ v hosts
$ v ssh config

jump

$ cd ~/Projects/streetvoice
$ mark sv
$ jump sv
$ unmark sv
$ marks

Themes

ref:
https://github.com/robbyrussell/oh-my-zsh/wiki/Themes