forked from ohmyzsh/ohmyzsh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
* 'master' of https://github.com/robbyrussell/oh-my-zsh: (94 commits) Fixing a few quirks in the latest installer updates (quoting /Users/robbyrussell/.oh-my-zsh and such). Also mentioining our twitter account after install Update license year Updating README to show the new install URL, which redirects to the raw files on github. Fixes ohmyzsh#2467 tab completion scrolls back in terminal when using bureau theme Add github url shortener Fix typo in autocomplete arguments Removed unsolicited aliases. Fix hgsl alias. Document alternate install paths via ZSH variable Abort installer on errors Write install path into .zshrc Reference default install path from ZSH variable Remove all copyright information in themes. Closes ohmyzsh#2587 added mvnjetty alias added aliases for tomcat:run tomcat7:run added mvn-update Updated wd plugin to v0.3.0 Integrate changes from ohmyzsh#1841. Fixed sublime plugin behaviors. 🐼 Added simulator alias for Xcode plugin ...
- Loading branch information
Showing
72 changed files
with
1,261 additions
and
916 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# *_prompt_info functions for usage in your prompt | ||
# | ||
# Plugin creators, please add your *_prompt_info function to the list | ||
# of dummy implementations to help theme creators not receiving errors | ||
# without the need of implementing conditional clauses. | ||
# | ||
# See also lib/bzr.zsh, lib/git.zsh and lib/nvm.zsh for | ||
# git_prompt_info, bzr_prompt_info and nvm_prompt_info | ||
|
||
# Dummy implementations that return false to prevent command_not_found | ||
# errors with themes, that implement these functions | ||
# Real implementations will be used when the respective plugins are loaded | ||
function chruby_prompt_info hg_prompt_info pyenv_prompt_info \ | ||
rbenv_prompt_info svn_prompt_info vi_mode_prompt_info \ | ||
virtualenv_prompt_info { | ||
return 1 | ||
} | ||
|
||
# oh-my-zsh supports an rvm prompt by default | ||
# get the name of the rvm ruby version | ||
function rvm_prompt_info() { | ||
[ -f $HOME/.rvm/bin/rvm-prompt ] || return 1 | ||
local rvm_prompt | ||
rvm_prompt=$($HOME/.rvm/bin/rvm-prompt ${=ZSH_THEME_RVM_PROMPT_OPTIONS} 2>/dev/null) | ||
[[ "${rvm_prompt}x" == "x" ]] && return 1 | ||
echo "${ZSH_THEME_RVM_PROMPT_PREFIX:=(}${rvm_prompt}${ZSH_THEME_RVM_PROMPT_SUFFIX:=)}" | ||
} | ||
|
||
# use this to enable users to see their ruby version, no matter which | ||
# version management system they use | ||
function ruby_prompt_info() { | ||
echo $(rvm_prompt_info || rbenv_prompt_info || chruby_prompt_info) | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export AWS_HOME=~/.aws | ||
|
||
function agp { | ||
echo $AWS_DEFAULT_PROFILE | ||
|
||
} | ||
function asp { | ||
export AWS_DEFAULT_PROFILE=$1 | ||
export RPROMPT="<aws:$AWS_DEFAULT_PROFILE>" | ||
|
||
} | ||
function aws_profiles { | ||
reply=($(grep profile $AWS_HOME/config|sed -e 's/.*profile \([a-zA-Z0-9_-]*\).*/\1/')) | ||
} | ||
|
||
compctl -K aws_profiles asp | ||
source `which aws_zsh_completer.sh` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
################################################################################ | ||
# catimg script by Eduardo San Martin Morote aka Posva # | ||
# http://posva.net # | ||
# # | ||
# Ouput the content of an image to the stdout using the 256 colors of the # | ||
# terminal. # | ||
# Github: https://github.com/posva/catimg # | ||
################################################################################ | ||
|
||
|
||
function catimg() { | ||
if [[ -x `which convert` ]]; then | ||
zsh $ZSH/plugins/catimg/catimg.sh $@ | ||
else | ||
echo "catimg need convert (ImageMagick) to work)" | ||
fi | ||
} |
Oops, something went wrong.