mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Adds aliases, secrets, and variables files for customization
This commit is contained in:
parent
61e3951e4b
commit
3537af0048
10 changed files with 99 additions and 34 deletions
4
templates/aliases.zsh-template
Normal file
4
templates/aliases.zsh-template
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# Put your aliases here
|
||||
|
||||
alias git=hub
|
||||
|
||||
6
templates/customizations.zsh-template
Normal file
6
templates/customizations.zsh-template
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
unalias run-help
|
||||
autoload run-help
|
||||
export HELPDIR=/usr/local/share/zsh/helpfiles
|
||||
|
||||
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
|
||||
|
||||
3
templates/gemrc.zsh-template
Normal file
3
templates/gemrc.zsh-template
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
install: --no-rdoc --no-ri
|
||||
update: --no-rdoc --no-ri
|
||||
|
||||
2
templates/secrets.zsh-template
Normal file
2
templates/secrets.zsh-template
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Put all secret keys here
|
||||
|
||||
6
templates/variables.zsh-template
Normal file
6
templates/variables.zsh-template
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# Put variables here
|
||||
export RBENV_ROOT=/usr/local/var/rbenv
|
||||
export PATH=/usr/local/share/npm/bin:/usr/local/bin:/usr/local/sbin:$PATH
|
||||
export JAVA_HOME=`/usr/libexec/java_home`
|
||||
export ANDROID_HOME=/usr/local/opt/android-sdk
|
||||
|
||||
|
|
@ -1,12 +1,9 @@
|
|||
# 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="robbyrussell"
|
||||
|
||||
DISABLE_AUTO_UPDATE="true"
|
||||
DISABLE_CORRECTION="true"
|
||||
|
||||
# Example aliases
|
||||
# alias zshconfig="mate ~/.zshrc"
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
|
@ -37,11 +34,11 @@ ZSH_THEME="robbyrussell"
|
|||
# much faster.
|
||||
# DISABLE_UNTRACKED_FILES_DIRTY="true"
|
||||
|
||||
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
|
||||
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
plugins=(git)
|
||||
plugins=(brew bundler battery colored-man colorize copydir copyfile cp dircycle encode64 extract gem git git-extras git-remote-branch history-substring-search history jira jruby npm node osx postgres rails rake rbenv ruby sublime urltools)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
source ~/.aliases
|
||||
source ~/.variables
|
||||
source ~/.secrets
|
||||
source ~/.customizations
|
||||
|
||||
# Customize to your needs...
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue