forked from sorin-ionescu/prezto
-
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 remote-tracking branch 'upstream/master'
* upstream/master: Simplify a conditional Remove duplicate alias definitions Add utility aliases for Cygwin Replace pythonz with pyenv Update external syntax-highlighting Update external history-substring-search Update external completions Clarify customization instructions Move from Carton to Cask Increase control over multiplexer auto-start [Fix sorin-ionescu#459] Correct typos in the dpkg module [Fix sorin-ionescu#452] Squash bugs introduced in fcab2a1 [Fix sorin-ionescu#411] Add Homebrew module [Fix sorin-ionescu#434] Correct ambiguity in the use of the term keymap
- Loading branch information
Showing
21 changed files
with
172 additions
and
95 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
Submodule external
updated
18 files
+45 −9 | src/_ack | |
+8 −1 | src/_brew | |
+1 −1 | src/_bundle | |
+139 −0 | src/_celery | |
+13 −3 | src/_coffee | |
+48 −10 | src/_gem | |
+145 −0 | src/_jekyll | |
+78 −0 | src/_jq | |
+43 −0 | src/_mina | |
+94 −28 | src/_pip | |
+43 −0 | src/_primus | |
+580 −0 | src/_rails | |
+115 −0 | src/_ralio | |
+4 −0 | src/_ssh-copy-id | |
+45 −1 | src/_vagrant | |
+164 −0 | src/_veewee | |
+57 −0 | src/_wemux | |
+8 −3 | src/_yaourt |
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
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,26 @@ | ||
Homebrew | ||
======== | ||
|
||
Defines Homebrew aliases. | ||
|
||
Aliases | ||
------- | ||
|
||
- `brewc` cleans outdated brews and their cached archives. | ||
- `brewC` cleans outdated brews, including keg-only, and their cached archives. | ||
- `brewi` installs a formula. | ||
- `brewl` lists installed formulae. | ||
- `brews` searches for a formula. | ||
- `brewU` upgrades Homebrew and outdated brews. | ||
- `brewu` upgrades Homebrew. | ||
- `brewx` uninstalls a formula. | ||
|
||
Authors | ||
------- | ||
|
||
*The authors of this module should be contacted via the [issue tracker][1].* | ||
|
||
- [Sorin Ionescu](https://github.com/sorin-ionescu) | ||
|
||
[1]: https://github.com/sorin-ionescu/prezto/issues | ||
|
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,25 @@ | ||
# | ||
# Defines Homebrew aliases. | ||
# | ||
# Authors: | ||
# Sorin Ionescu <[email protected]> | ||
# | ||
|
||
# Return if requirements are not found. | ||
if [[ "$OSTYPE" != darwin* ]]; then | ||
return 1 | ||
fi | ||
|
||
# | ||
# Aliases | ||
# | ||
|
||
alias brewc='brew cleanup' | ||
alias brewC='brew cleanup --force' | ||
alias brewi='brew install' | ||
alias brewl='brew list' | ||
alias brews='brew search' | ||
alias brewu='brew upgrade' | ||
alias brewU='brew update && brew upgrade' | ||
alias brewx='brew remove' | ||
|
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 |
---|---|---|
|
@@ -6,29 +6,35 @@ | |
# Sebastian Wiesner <[email protected]> | ||
# | ||
|
||
# Load pythonz into the shell session. | ||
if [[ -s $HOME/.pythonz/bin/pythonz ]]; then | ||
path=($HOME/.pythonz/bin $path) | ||
fi | ||
# Load manually installed pyenv into the shell session. | ||
if [[ -s "$HOME/.pyenv/bin/pyenv" ]]; then | ||
path=("$HOME/.pyenv/bin" $path) | ||
eval "$(pyenv init -)" | ||
|
||
# Return if requirements are not found. | ||
if (( ! $+commands[python] && ! $+commands[pythonz] )); then | ||
return 1 | ||
fi | ||
# Load package manager installed pyenv into the shell session. | ||
elif (( $+commands[pyenv] )); then | ||
eval "$(pyenv init -)" | ||
|
||
# Prepend PEP 370 per user site packages directory, which defaults to | ||
# ~/Library/Python on Mac OS X and ~/.local elsewhere, to PATH. | ||
if [[ "$OSTYPE" == darwin* ]]; then | ||
path=($HOME/Library/Python/*/bin(N) $path) | ||
else | ||
# This is subject to change. | ||
path=($HOME/.local/bin $path) | ||
if [[ "$OSTYPE" == darwin* ]]; then | ||
path=($HOME/Library/Python/*/bin(N) $path) | ||
else | ||
# This is subject to change. | ||
path=($HOME/.local/bin $path) | ||
fi | ||
fi | ||
|
||
# Return if requirements are not found. | ||
if (( ! $+commands[python] && ! $+commands[pyenv] )); then | ||
return 1 | ||
fi | ||
|
||
# Load virtualenvwrapper into the shell session. | ||
if (( $+commands[virtualenvwrapper_lazy.sh] )); then | ||
# Set the directory where virtual environments are stored. | ||
export WORKON_HOME=$HOME/.virtualenvs | ||
export WORKON_HOME="$HOME/.virtualenvs" | ||
|
||
# Disable the virtualenv prompt. | ||
VIRTUAL_ENV_DISABLE_PROMPT=1 | ||
|
@@ -42,14 +48,3 @@ fi | |
|
||
alias py='python' | ||
|
||
# pythonz | ||
if (( $+commands[pythonz] )); then | ||
alias pyz='pythonz' | ||
alias pyzc='pythonz cleanup' | ||
alias pyzi='pythonz install' | ||
alias pyzl='pythonz list' | ||
alias pyzL='pythonz list -a' | ||
alias pyzu='pythonz update' | ||
alias pyzx='pythonz uninstall' | ||
fi | ||
|
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
# | ||
# Authors: | ||
# Sorin Ionescu <[email protected]> | ||
# Georges Discry <[email protected]> | ||
# | ||
|
||
# Return if requirements are not found. | ||
|
@@ -14,7 +15,10 @@ fi | |
# Auto Start | ||
# | ||
|
||
if [[ -z "$STY" ]] && zstyle -t ':prezto:module:screen' auto-start; then | ||
if [[ -z "$STY" ]] && ( \ | ||
( [[ -n "$SSH_TTY" ]] && zstyle -t ':prezto:module:screen:auto-start' remote ) || | ||
( [[ -z "$SSH_TTY" ]] && zstyle -t ':prezto:module:screen:auto-start' local ) \ | ||
); then | ||
session="$( | ||
screen -list 2> /dev/null \ | ||
| sed '1d;$d' \ | ||
|
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
Submodule external
updated
3 files
+2 −0 | highlighters/main/README.md | |
+41 −6 | highlighters/main/main-highlighter.zsh | |
+1 −1 | highlighters/root/root-highlighter.zsh |
Oops, something went wrong.