Downloads in verschiedenen Formaten:
Resourcen:
bash
[bash]
ps
wget –no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O – | sh
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | sh
mate ~/.zshrc
cat ~/.bash_profile >> ~/.zshrc
mate ~/.oh-my-zsh
[/bash]
.zshrc
[bash]
# Path to your oh-my-zsh configuration.
ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it’ll load a random theme each
# time that oh-my-zsh is loaded.
ZSH_THEME="rbates"
# Uncomment following line if you want to disable colors in ls
DISABLE_LS_COLORS="true"
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(git bundler brew gem rbates)
source $ZSH/oh-my-zsh.sh
# Customize to your needs…
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
[/bash]
.oh-my-zsh/themes/rbates.zsh-theme
[bash]
PROMPT=’%3~$(git_prompt_info)%# ‚
ZSH_THEME_GIT_PROMPT_PREFIX="["
ZSH_THEME_GIT_PROMPT_SUFFIX="]"
[/bash]
.oh-my-zsh/custom/plugins/rbates/rbates.plugin.zsh
[bash]
c() { cd ~/code/$1; }
_c() { _files -W ~/code -/; }
compdef _c c
[/bash]