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 branch 'master' of https://github.com/sorin-ionescu/prezto into…
… HEAD * 'master' of https://github.com/sorin-ionescu/prezto: (25 commits) Comment an unnecessary style Stop module loading when external code fails to source Use correct option for pacman search aliases Do not define $GEM_HOME 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 Rename archive module functions [Fix sorin-ionescu#436] Update link to Bombich rsync ...
- Loading branch information
Showing
34 changed files
with
200 additions
and
124 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
4 changes: 2 additions & 2 deletions
4
modules/archive/functions/_ls-archive → modules/archive/functions/_lsarchive
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#compdef ls-archive | ||
#compdef lsarchive | ||
#autoload | ||
|
||
# | ||
# Completes ls-archive. | ||
# Completes lsarchive. | ||
# | ||
# Authors: | ||
# Sorin Ionescu <[email protected]> | ||
|
4 changes: 2 additions & 2 deletions
4
modules/archive/functions/_extract → modules/archive/functions/_unarchive
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
#compdef extract | ||
#compdef unarchive | ||
#autoload | ||
|
||
# | ||
# Completes extract. | ||
# Completes unarchive. | ||
# | ||
# Authors: | ||
# Sorin Ionescu <[email protected]> | ||
|
2 changes: 1 addition & 1 deletion
2
modules/archive/functions/ls-archive → modules/archive/functions/lsarchive
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# Lists the contents of popular archive formats. | ||
# Lists the contents of archives. | ||
# | ||
# Authors: | ||
# Sorin Ionescu <[email protected]> | ||
|
2 changes: 1 addition & 1 deletion
2
modules/archive/functions/extract → modules/archive/functions/unarchive
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# | ||
# Extracts the contents of popular archive formats. | ||
# Extracts the contents of archives. | ||
# | ||
# Authors: | ||
# Sorin Ionescu <[email protected]> | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
# Sorin Ionescu <[email protected]> | ||
# | ||
|
||
local tmp="${TMPDIR:-/tmp}/pacman-disowned-$UID-$$" | ||
local tmp="$TMPDIR/pacman-disowned-$UID-$$" | ||
local db="$tmp/db" | ||
local fs="$tmp/fs" | ||
|
||
|
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 |
---|---|---|
|
@@ -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 | ||
|
Oops, something went wrong.