Compare View
Commits (2)
-
bd6dbd1 Merge pull request #4866 from willmendesneto/master
480ad80 Fix bug in compass docs search
0d0042a Merge pull request #4857 from depressiveRobot/master
31614f8 fix terminal color pollution, see issue https://github.com/robbyrussell/oh-my-zsh/issues/4856git-subtree-dir: repos/robbyrussell/oh-my-zsh
git-subtree-split: bd6dbd1d9b1fc8a523aaf588492eb3ed4113b49d
Changes
Showing 4 changed files Side-by-side Diff
repos/robbyrussell/oh-my-zsh/plugins/frontend-search/README.md
| ... | ... | @@ -38,7 +38,7 @@ Available search contexts are: |
| 38 | 38 | | bootsnipp | `http://bootsnipp.com/search?q=` | |
| 39 | 39 | | caniuse | `http://caniuse.com/#search=` | |
| 40 | 40 | | codepen | `http://codepen.io/search?q=` | |
| 41 | -| compass | `http://compass-style.org/search?q=` | | |
| 41 | +| compassdoc | `http://compass-style.org/search?q=` | | |
| 42 | 42 | | cssflow | `http://www.cssflow.com/search?q=` | |
| 43 | 43 | | dartlang | `https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart:` | |
| 44 | 44 | | emberjs | `http://emberjs.com/api/#stp=1&stq=` | |
repos/robbyrussell/oh-my-zsh/plugins/frontend-search/_frontend-search.sh
| ... | ... | @@ -19,7 +19,7 @@ function _frontend() { |
| 19 | 19 | commands=( |
| 20 | 20 | 'jquery: Search in jQuery website' |
| 21 | 21 | 'mdn: Search in MDN website' |
| 22 | - 'compass: Search in COMPASS website' | |
| 22 | + 'compassdoc: Search in COMPASS website' | |
| 23 | 23 | 'html5please: Search in HTML5 Please website' |
| 24 | 24 | 'caniuse: Search in Can I Use website' |
| 25 | 25 | 'aurajs: Search in AuraJs website' |
| ... | ... | @@ -57,7 +57,7 @@ function _frontend() { |
| 57 | 57 | mdn) |
| 58 | 58 | _describe -t points "Warp points" frontend_points && ret=0 |
| 59 | 59 | ;; |
| 60 | - compass) | |
| 60 | + compassdoc) | |
| 61 | 61 | _describe -t points "Warp points" frontend_points && ret=0 |
| 62 | 62 | ;; |
| 63 | 63 | html5please) |
repos/robbyrussell/oh-my-zsh/plugins/frontend-search/frontend-search.plugin.zsh
| ... | ... | @@ -4,7 +4,7 @@ alias bem='frontend bem' |
| 4 | 4 | alias bootsnipp='frontend bootsnipp' |
| 5 | 5 | alias caniuse='frontend caniuse' |
| 6 | 6 | alias codepen='frontend codepen' |
| 7 | -alias compass='frontend compass' | |
| 7 | +alias compassdoc='frontend compassdoc' | |
| 8 | 8 | alias cssflow='frontend cssflow' |
| 9 | 9 | alias dartlang='frontend dartlang' |
| 10 | 10 | alias emberjs='frontend emberjs' |
| ... | ... | @@ -32,7 +32,7 @@ function frontend() { |
| 32 | 32 | bootsnipp 'http://bootsnipp.com/search?q=' |
| 33 | 33 | caniuse 'http://caniuse.com/#search=' |
| 34 | 34 | codepen 'http://codepen.io/search?q=' |
| 35 | - compass 'http://compass-style.org/search?q=' | |
| 35 | + compassdoc 'http://compass-style.org/search?q=' | |
| 36 | 36 | cssflow 'http://www.cssflow.com/search?q=' |
| 37 | 37 | dartlang 'https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/dart:' |
| 38 | 38 | emberjs 'http://emberjs.com/api/#stp=1&stq=' |
| ... | ... | @@ -57,7 +57,7 @@ function frontend() { |
| 57 | 57 | print -P "%Uterm%u and what follows is what will be searched for in the %Ucontext%u website," |
| 58 | 58 | print -P "and %Ucontext%u is one of the following:" |
| 59 | 59 | print -P "" |
| 60 | - print -P " angularjs, aurajs, bem, bootsnipp, caniuse, codepen, compass, cssflow," | |
| 60 | + print -P " angularjs, aurajs, bem, bootsnipp, caniuse, codepen, compassdoc, cssflow," | |
| 61 | 61 | print -P " dartlang, emberjs, fontello, html5please, jquery, lodash, mdn, npmjs," |
| 62 | 62 | print -P " qunit, reactjs, smacss, stackoverflow, unheap" |
| 63 | 63 | print -P "" |
| ... | ... | @@ -73,7 +73,7 @@ function frontend() { |
| 73 | 73 | echo "" |
| 74 | 74 | echo "Valid contexts are:" |
| 75 | 75 | echo "" |
| 76 | - echo " angularjs, aurajs, bem, bootsnipp, caniuse, codepen, compass, cssflow, " | |
| 76 | + echo " angularjs, aurajs, bem, bootsnipp, caniuse, codepen, compassdoc, cssflow, " | |
| 77 | 77 | echo " dartlang, emberjs, fontello, html5please, jquery, lodash, mdn, npmjs, " |
| 78 | 78 | echo " qunit, reactjs, smacss, stackoverflow, unheap" |
| 79 | 79 | echo "" |
repos/robbyrussell/oh-my-zsh/plugins/mvn/mvn.plugin.zsh
| 1 | 1 | # mvn-color based on https://gist.github.com/1027800 |
| 2 | -export BOLD=`tput bold` | |
| 3 | -export UNDERLINE_ON=`tput smul` | |
| 4 | -export UNDERLINE_OFF=`tput rmul` | |
| 5 | -export TEXT_BLACK=`tput setaf 0` | |
| 6 | -export TEXT_RED=`tput setaf 1` | |
| 7 | -export TEXT_GREEN=`tput setaf 2` | |
| 8 | -export TEXT_YELLOW=`tput setaf 3` | |
| 9 | -export TEXT_BLUE=`tput setaf 4` | |
| 10 | -export TEXT_MAGENTA=`tput setaf 5` | |
| 11 | -export TEXT_CYAN=`tput setaf 6` | |
| 12 | -export TEXT_WHITE=`tput setaf 7` | |
| 13 | -export BACKGROUND_BLACK=`tput setab 0` | |
| 14 | -export BACKGROUND_RED=`tput setab 1` | |
| 15 | -export BACKGROUND_GREEN=`tput setab 2` | |
| 16 | -export BACKGROUND_YELLOW=`tput setab 3` | |
| 17 | -export BACKGROUND_BLUE=`tput setab 4` | |
| 18 | -export BACKGROUND_MAGENTA=`tput setab 5` | |
| 19 | -export BACKGROUND_CYAN=`tput setab 6` | |
| 20 | -export BACKGROUND_WHITE=`tput setab 7` | |
| 21 | -export RESET_FORMATTING=`tput sgr0` | |
| 2 | +BOLD=`tput bold` | |
| 3 | +UNDERLINE_ON=`tput smul` | |
| 4 | +UNDERLINE_OFF=`tput rmul` | |
| 5 | +TEXT_BLACK=`tput setaf 0` | |
| 6 | +TEXT_RED=`tput setaf 1` | |
| 7 | +TEXT_GREEN=`tput setaf 2` | |
| 8 | +TEXT_YELLOW=`tput setaf 3` | |
| 9 | +TEXT_BLUE=`tput setaf 4` | |
| 10 | +TEXT_MAGENTA=`tput setaf 5` | |
| 11 | +TEXT_CYAN=`tput setaf 6` | |
| 12 | +TEXT_WHITE=`tput setaf 7` | |
| 13 | +BACKGROUND_BLACK=`tput setab 0` | |
| 14 | +BACKGROUND_RED=`tput setab 1` | |
| 15 | +BACKGROUND_GREEN=`tput setab 2` | |
| 16 | +BACKGROUND_YELLOW=`tput setab 3` | |
| 17 | +BACKGROUND_BLUE=`tput setab 4` | |
| 18 | +BACKGROUND_MAGENTA=`tput setab 5` | |
| 19 | +BACKGROUND_CYAN=`tput setab 6` | |
| 20 | +BACKGROUND_WHITE=`tput setab 7` | |
| 21 | +RESET_FORMATTING=`tput sgr0` | |
| 22 | 22 | |
| 23 | 23 | |
| 24 | 24 | # Wrapper function for Maven's mvn command. |