Custom plugins and themes for oh-my-zsh maintained by psyrendust
Clone oh-my-zsh to your home folder:
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
Create a new zsh config by copying the zsh template we’ve provided:
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
Set zsh as your default shell:
chsh -s /bin/zsh
Clone oh-my-zsh-psyrendust to your home folder
git clone https://github.com/psyrendust/oh-my-zsh-psyrendust.git ~/.oh-my-zsh-psyrendust
Edit your ~/.zshrc
file with your favorite editor and edit the following:
ZSH_THEME="psyrendust"
ZSH_CUSTOM="$HOME/.oh-my-zsh-psyrendust"
You can add the plugins that you would like to load:
plugins=(apache2 server sublime)
Start / restart zsh (open a new terminal is easy enough…)
Plugins can be found in the oh-my-zsh-psyrendust/plugins
folder.
Plugins | Description |
---|---|
alias-grep.plugin.zsh | Filter your zsh aliases using regex. |
apache2.plugin.zsh | Commands to control local apache2 server installation on Mac. |
git-psyrendust.plugin.zsh | Custom aliases for Git. |
grunt-autocomplete.plugin.zsh | Zsh tab completion for GruntJS. |
kill-process.plugin.zsh | Kill a process by name. |
mkcd.plugin.zsh | Make a directory (recursively) and cd into it. |
npp.plugin.zsh | Notepad++ plugin. |
psyrendust-auto-update.plugin.zsh | Auto update plugin for this repo. |
refresh.plugin.zsh | Refresh the current folder. Helps when a network share disconnects temporarily. |
sever.plugin.zsh | Start an HTTP server from a directory, optionally specifying the port. |
sublime.plugin.zsh | Open path or files in Sublime Text 2. Uses a sleep command to fix a bug with ST2 opening with no files/folders showing in the sidebar. |
Command | Description | Equivalent |
---|---|---|
ag |
List all installed aliases or filter using regex | alias or alias | grep -e [pattern] |
agb |
List all installed aliases or filter using regex at the start of the string | alias or alias | grep -e "^[pattern]" |
List all aliases
ag
List all aliases that contain the substring git
ag git
List all aliases that start with the string gs
agb gs
Command | Description |
---|---|
apache2start |
Start Apache |
apache2stop |
Stop Apache |
apache2restart |
Restart Apache |
apache2load |
Load Apache as a service using launchd |
apache2unload |
Remove Apache as a service using launchd |
Command | Shortcut |
---|---|
gass |
git update-index --assume-unchanged |
gaa |
git add -A |
gun |
git reset && git checkout . && git clean -fdx |
gt |
git tag |
gta |
git tag -a |
gindex |
git rm --cached -r . && git reset --hard && git add . |
gbfromhere |
git checkout -b [newBranchName] [currentBranchName] |
Start typing gru
then hit <tab>
for a list of
cmd
foo
: Bar
Something
cmd
foo
: Bar
Something
cmd
foo
: Bar
Something
cmd
foo
: Bar
Something
cmd
foo
: Bar
Something
cmd
Themes can be found in the oh-my-zsh-psyrendust/themes
folder.
Themes | Description |
---|---|
psyrendust.zsh-theme | A custom oh-my-zsh theme based off of Bobby. |
- Having issues getting
subl
to work as the gitcore.editor
on Mac - Zsh prompt gets cut off for
scm_prompt_char
when using the fontInconsolata
in CYGWIN
- 2013-07-17 v0.1.5 Fix issue #2. Add
alias-grep
plugin. Addkill-process
plugin. Update README.md. - 2013-07-17 v0.1.4 Add
grunt-autocomplete
plugin. Addpsyrendust-auto-update
plugin. Fix bug forserver
plugin. Updategit-psyrendust
plugin. - 2013-07-02 v0.1.3 Add
AutoHotkeys
config. Bug fix for sublime.plugin.zsh. Added git reset alias. - 2013-07-02 v0.1.2 Add
npp
plugin. - 2013-07-02 v0.1.1 Add
mkcd
plugin. Addedgit-psyrendust
plugin. Bug fixes. - 2013-06-27 v0.1.0 Initial release.
Copyright (c) 2013 Larry Gordon Licensed under the MIT license.