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: (39 commits) [Fix sorin-ionescu#436] Remove Bombich rsync references Add the RubyGems bin directory to PATH on other Unix systems Do not substitute /tmp since $TMPDIR is always set [Fix sorin-ionescu#437] Always set $TMPDIR Make gpg-agent and ssh-agent work with each other [Fix sorin-ionescu#425] Rewrite module ssh-agent; rename it to ssh [Fix sorin-ionescu#103] Add documentation for editor Remove the git-info SIGINT message [Fix sorin-ionescu#307] Do not auto-off git-info Remove ununsed variable Clarify Git listing aliases descriptions Swap aliases gsd and gsL Rename alias gRc to gRp [Fix sorin-ionescu#221] Add a simple git-info [sorin-ionescu#221] Do not format undefined zstyles Initialize ahead and behind local variables Add rar command to archive module Refactor Emacs module Load completion for Carton Correct syntax error in variable assignment ...
- Loading branch information
Showing
37 changed files
with
573 additions
and
428 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
Submodule external
updated
9 files
+21 −5 | src/_brew | |
+44 −0 | src/_dzen2 | |
+34 −2 | src/_gem | |
+33 −1 | src/_heroku | |
+70 −0 | src/_id3 | |
+116 −0 | src/_id3v2 | |
+8 −1 | src/_knife | |
+144 −81 | src/_port | |
+169 −0 | src/_svm |
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,63 @@ | ||
Editor | ||
====== | ||
|
||
Sets key bindings. | ||
|
||
Settings | ||
-------- | ||
|
||
### Key bindings | ||
|
||
To enable key bindings, add the following to *zpreztorc*, and replace 'map' with | ||
'emacs' or 'vi'. | ||
|
||
zstyle ':prezto:module:editor' keymap 'map' | ||
|
||
### Dot Expansion | ||
|
||
To enable the auto conversion of .... to ../.., add the following to | ||
*zpreztorc*. | ||
|
||
zstyle ':prezto:module:editor' dot-expansion 'yes' | ||
|
||
Theming | ||
------- | ||
|
||
To indicate when the editor is in the primary keymap (emacs or viins), add | ||
the following to your `theme_prompt_setup` function. | ||
|
||
zstyle ':prezto:module:editor:info:keymap:primary' format '>>>' | ||
|
||
To indicate when the editor is in the primary keymap (emacs or viins) insert | ||
mode, add the following to your `theme_prompt_setup` function. | ||
|
||
zstyle ':prezto:module:editor:info:keymap:primary:insert' format 'I' | ||
|
||
To indicate when the editor is in the primary keymap (emacs or viins) overwrite | ||
mode, add the following to your `theme_prompt_setup` function. | ||
|
||
zstyle ':prezto:module:editor:info:keymap:primary:overwrite' format 'O' | ||
|
||
To indicate when the editor is in the alternate keymap (vicmd), add the | ||
following to your `theme_prompt_setup` function. | ||
|
||
zstyle ':prezto:module:editor:info:keymap:alternate' format '<<<' | ||
|
||
To indicate when the editor is completing, add the following to your | ||
`theme_prompt_setup` function. | ||
|
||
zstyle ':prezto:module:editor:info:completing' format '...' | ||
|
||
Then add `$editor_info[context]`, where context is *keymap*, *insert*, or | ||
*overwrite*, to `$PROMPT` or `$RPROMPT` and call `editor-info` in the | ||
`prompt_name_preexec` hook function. | ||
|
||
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/oh-my-zsh/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 |
---|---|---|
|
@@ -4,42 +4,6 @@ | |
# Authors: | ||
# Sorin Ionescu <[email protected]> | ||
# | ||
# Usage: | ||
# To enable key bindings, add the following to zpreztorc, and replace 'map' | ||
# with 'emacs' or 'vi. | ||
# | ||
# zstyle ':prezto:module:editor' keymap 'map' | ||
# | ||
# To enable the auto conversion of .... to ../.., add the following to | ||
# zpreztorc. | ||
# | ||
# zstyle ':prezto:module:editor' dot-expansion 'yes' | ||
# | ||
# To indicate when the editor is in the primary keymap (emacs or viins), add | ||
# the following to your theme prompt setup function. | ||
# | ||
# zstyle ':prezto:module:editor:info:keymap:primary' format '>>>' | ||
# | ||
# To indicate when the editor is in the primary keymap (emacs or viins) insert | ||
# mode, add the following to your theme prompt setup function. | ||
# | ||
# zstyle ':prezto:module:editor:info:keymap:primary:insert' format 'I' | ||
# | ||
# To indicate when the editor is in the primary keymap (emacs or viins) | ||
# overwrite mode, add the following to your theme prompt setup function. | ||
# | ||
# zstyle ':prezto:module:editor:info:keymap:primary:overwrite' format 'O' | ||
# | ||
# To indicate when the editor is in the alternate keymap (vicmd), add the | ||
# following to your theme prompt setup function. | ||
# | ||
# zstyle ':prezto:module:editor:info:keymap:alternate' format '<<<' | ||
# | ||
# To indicate when the editor is completing, add the following to your theme | ||
# prompt setup function. | ||
# | ||
# zstyle ':prezto:module:editor:info:completing' format '...' | ||
# | ||
|
||
# Return if requirements are not found. | ||
if [[ "$TERM" == 'dumb' ]]; then | ||
|
@@ -57,6 +21,9 @@ setopt BEEP | |
# Variables | ||
# | ||
|
||
# Treat these characters as part of a word. | ||
WORDCHARS='*?_-.[]~&;!#$%^(){}<>' | ||
|
||
# Use human-friendly identifiers. | ||
zmodload zsh/terminfo | ||
typeset -gA key_info | ||
|
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 |
---|---|---|
|
@@ -4,12 +4,22 @@ | |
# Authors: Sebastian Wiesner <[email protected]> | ||
# | ||
|
||
# Enable Carton | ||
if [[ -d "$HOME/.carton" ]]; then | ||
path=($HOME/.carton/bin $path) | ||
|
||
alias cai='carton install' | ||
alias cau='carton update' | ||
alias caI='carton init' | ||
alias cae='carton exec' | ||
# Return if requirements are not found. | ||
if [[ ! -d "$HOME/.carton" ]]; then | ||
return 1 | ||
fi | ||
|
||
# Prepend Carton bin directory. | ||
path=($HOME/.carton/bin $path) | ||
|
||
# Load Carton completion | ||
source "$HOME/.carton/etc/carton_completion.zsh" 2> /dev/null | ||
|
||
# | ||
# Aliases | ||
# | ||
|
||
alias cai='carton install' | ||
alias cau='carton update' | ||
alias caI='carton init' | ||
alias cae='carton exec' |
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
Oops, something went wrong.