-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bind Ctrl+Left to backward-word (and Ctrl+Right to forward-word) #563
Conversation
Can't the terminfo database be fixed instead? Databases can be installed in the home directory. |
I am absolutely not in position to suggest such corrections. The current terminfo upstream is aware of the issue, this is what they have to say, and I hardly understand much of it. Yet Debian, serving hundreds of thousands of users, sets this in their /etc/inputrc, which is the default readline configuration file, which is the default readline library for bash (et al. REPL shells), which is the default user shell by default. And it works out of the box — presto! :) |
Could you paste /etc/inputrc please? |
for key ("$key_info[Escape]"{F,f}) bindkey -M emacs "$key" emacs-forward-word | ||
bindkey -M emacs "$key_info[Escape]$key_info[Left]" emacs-backward-word | ||
bindkey -M emacs "$key_info[Escape]$key_info[Right]" emacs-forward-word | ||
for key ('\e[1;5D' '\e[5D' '\e\e[D' '\eOd' \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would rather have you define those in the $key_info
array; so, they are reusable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What identification keys do you recommend? C-Left/1
/ CLeft1
/ C-Left/xterm
... ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ControlLeft
and ControlRight
?
I linked to the inputrc in the commit message. This is the template /etc/inputrc, if previously non-existant, gets created from. It is present in readline-common package. |
Is anything else broken? |
Here, nice and squashed. Whether anything else is broken — I don't know. I'm not a proficient terminal user so I don't use all the exotic keybindings (obviously, since I propose |
@@ -29,6 +29,8 @@ zmodload zsh/terminfo | |||
typeset -gA key_info | |||
key_info=( | |||
'Control' '\C-' | |||
'ControlLeft' '\e[1;5D \e[5D \e\e[D \eOd' # sequences from Debian's inputrc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'll have to detect the operating system using $OSTYPE
and set ControlLeft
to the proper sequence.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And what sequence am I supposed to use with regard to specific $OSTYPE
? The sequences, as I understand, are bound to a particular terminal emulator, not necessarily OS. What I can do is apply \eOc
and \eOd
conditionally only if $TERM=*rxvt*
, like Debian does. The other codes apply for xterm, it seems, and anything else is beyond my understanding.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am sorry. I meant, check $TERM
, not $OSTYPE
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So, like Debian does it, apply \e[1;5D \e[5D \e\e[D
unconditionally and \eOd
only if $TERM = *rxvt*
? Or all of the former only when $TERM != *rxvt*
? I'd hate to decide myself.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You'd need to figure out for which terminals Debian is mapping each one, detect the terminal, then append to the array.
Binds some additional sequences to emacs-backward-word and emacs-forward-word. The problem is that terminfo doesn't know about Ctrl+ArrowKeys, so one has to resort to using raw sequences as used in the wild. The sequences were copied from Debian's /etc/inputrc (readline configuration), so they should be fairly portable. It works in xterm and rxvt terminals and doesn't work on TERM=linux (virtual console) as Ctrl+Arrows send the same sequence as Arrows alone. http://zshwiki.org/home/zle/bindkeys http://sources.debian.net/src/readline6/6.2+dfsg-0.1/debian/inputrc?hl=44#L44
It now follows the Debian bahavior. It applies the first three sequences unconditionally, and the last if term is a rxvt. |
@@ -29,6 +29,8 @@ zmodload zsh/terminfo | |||
typeset -gA key_info | |||
key_info=( | |||
'Control' '\C-' | |||
'ControlLeft' '\e[1;5D \e[5D \e\e[D' # sequences from Debian's inputrc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bind only one sequence, not three of them, because it makes the use of this array inconsistent. Find out $TERM
for each then set key_info['ControlLeft']='foo'
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And how do you propose I do that? There are various accounts for correct xterm values — somebody here says their xterm works with ;5D
, my xterm works with \e[1;5D
if I let zsh parse my .zshrc and with ;5D
if I run zsh --no-rcs
.... I don't think these can be reliably inferred from $TERM
, I though we were trusting Debian with this...
And what do you mean by inconsistent? Yes, it has several possible values, all of which apply, obviously.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does Konsole set $TERMINAL_PROGRAM
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Haven't tried konsole, but none of my other terminal programs sets it. Does this help?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What I mean by inconsistent is that the array is expected to be used as $key_info[ControlLeft]
not ${(s: :)key_info[ControlLeft]}
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, but there are three possible values. That's why I asked how I should name them. ControlLeft1
, ControlLeft2
, ControlLeft3
? And how then do I conditionally add the rxvt ControlLeft4
? And do I check for each one if it's set before applying bindkey to it?
What public-facing interface precisely are you maintaining backwards-compatibility with by enforcing this? I understand you don't want it all hacked together, but I don't think I can imagine an equally-elegant way of taming this better. So please advise. :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have no good answer.
* upstream/master: (39 commits) Fix git log pretty format argument [Fix sorin-ionescu#698] Describe module in README the same as in code Fix typo in Perl module readme Load Homebrew installed NVM Enable 'acls', 'xattrs' support in rsync whenever available Try `lesspipe` in addition to `lesspipe.sh` for LESSOPEN Ignore case in filenames Only print fortunes in terminals Add homebrew-cask aliases to homebrew module Update OPAM setup [Fix sorin-ionescu#669] Do not use lazy virtualenvwrapper [Fix sorin-ionescu#595] Simplify the handling of the Terminal.app proxy icon Only one newline at end of file Convert tabs to spaces [Fix sorin-ionescu#563] Control+Arrow keys are not in the terminfo database [Fix sorin-ionescu#652] Execute abs with sudo [Fix sorin-ionescu#594] Remove quotes surrounding associative array key [Fix sorin-ionescu#635] Use $BROWSER to open node documentation Display full command line on suggestion for the kill command [Fix sorin-ionescu#626] Escape '%' in path ... Conflicts: runcoms/zshrc
* master: (36 commits) Fix node-info to show right node version Fix git log pretty format argument [Fix sorin-ionescu#698] Describe module in README the same as in code Fix typo in Perl module readme Load Homebrew installed NVM Enable 'acls', 'xattrs' support in rsync whenever available Try `lesspipe` in addition to `lesspipe.sh` for LESSOPEN Ignore case in filenames Only print fortunes in terminals Add homebrew-cask aliases to homebrew module Update OPAM setup [Fix sorin-ionescu#669] Do not use lazy virtualenvwrapper [Fix sorin-ionescu#595] Simplify the handling of the Terminal.app proxy icon Only one newline at end of file Convert tabs to spaces [Fix sorin-ionescu#563] Control+Arrow keys are not in the terminfo database [Fix sorin-ionescu#652] Execute abs with sudo [Fix sorin-ionescu#594] Remove quotes surrounding associative array key [Fix sorin-ionescu#635] Use $BROWSER to open node documentation Display full command line on suggestion for the kill command ... Conflicts: runcoms/zlogin runcoms/zshrc
commit 4f19700 Author: Sorin Ionescu <[email protected]> Date: Wed Mar 2 23:29:51 2016 -0500 Add missing syntax highlighter commit c8b8397 Author: Sorin Ionescu <[email protected]> Date: Wed Mar 2 16:31:30 2016 -0500 [Fix sorin-ionescu#532] Integrate autosuggestions commit 8bd720b Author: Sorin Ionescu <[email protected]> Date: Sun Feb 28 22:32:40 2016 -0500 Update pure theme commit 38baf39 Author: Sorin Ionescu <[email protected]> Date: Sun Feb 28 22:32:12 2016 -0500 Update external syntax-highlighting commit e36eed9 Author: Sorin Ionescu <[email protected]> Date: Sun Feb 28 22:31:46 2016 -0500 Update external history-substring-search commit 64aa907 Author: Sorin Ionescu <[email protected]> Date: Sun Feb 28 22:31:21 2016 -0500 Update external completions commit 7227c4f Author: Zach Riggle <[email protected]> Date: Fri Jul 31 16:00:17 2015 -0400 Fix unarchive for .deb which uses xz, and absolute paths commit 2ad1b2f Author: Andrew Schwartzmeyer <[email protected]> Date: Tue Jul 21 15:01:31 2015 -0700 Load add-zsh-hook in GPG module Fixes this error: ~/.zprezto/modules/gpg/init.zsh:43: command not found: add-zsh-hook commit a7e4b44 Author: Ryan S. Brown <[email protected]> Date: Sat Jul 11 15:53:23 2015 -0400 Fix typo in yum module README commit 02b3d32 Author: Ryan Brown <[email protected]> Date: Thu Jul 9 18:46:09 2015 -0400 Fix typo in dnf module README commit e641c21 Author: Sorin Ionescu <[email protected]> Date: Wed Nov 11 22:56:39 2015 -0500 [Fix sorin-ionescu#940] Update agnoster theme remote URL commit 165879d Author: Sorin Ionescu <[email protected]> Date: Mon Nov 9 02:09:48 2015 -0500 Update pure theme commit de9ed06 Author: Sorin Ionescu <[email protected]> Date: Mon Nov 9 02:09:30 2015 -0500 Update external syntax-highlighting commit c05fbed Author: Sorin Ionescu <[email protected]> Date: Mon Nov 9 02:08:59 2015 -0500 Update external history-substring-search commit e137068 Author: Sorin Ionescu <[email protected]> Date: Mon Nov 9 02:08:40 2015 -0500 Update external completions commit f2a826e Author: Sorin Ionescu <[email protected]> Date: Sun May 31 16:51:29 2015 -0400 Add preview function to sorin theme commit bdec6c4 Author: Sorin Ionescu <[email protected]> Date: Sun May 31 16:50:03 2015 -0400 Redraw only when called from subprocess commit ef634f3 Author: Sorin Ionescu <[email protected]> Date: Sun May 31 16:47:16 2015 -0400 Replace signal TERM with KILL commit b761261 Author: Sorin Ionescu <[email protected]> Date: Sun May 31 16:46:42 2015 -0400 Replace signal USR1 with WINCH commit 02c5f77 Author: Sorin Ionescu <[email protected]> Date: Thu May 28 20:24:58 2015 -0400 [Fix sorin-ionescu#892] Symlink prompt pure async dependency commit a275db5 Author: Sorin Ionescu <[email protected]> Date: Mon May 25 22:25:22 2015 -0400 Fix MacPorts typo commit b6efdc1 Author: FireWave <[email protected]> Date: Thu Mar 28 16:58:10 2013 -0400 Add DNF module Signed-off-by: Sorin Ionescu <[email protected]> commit 904c944 Author: Sorin Ionescu <[email protected]> Date: Tue May 26 22:05:49 2015 -0400 Consolidate brew update and upgrade aliases commit 1594188 Author: Quang-Linh LE <[email protected]> Date: Wed Dec 10 08:54:54 2014 +0100 Add Linux as as requirement commit f7ea780 Author: Sorin Ionescu <[email protected]> Date: Mon May 25 21:58:43 2015 -0400 Update pure theme commit fe64f91 Author: Sorin Ionescu <[email protected]> Date: Tue May 19 17:39:00 2015 -0400 Update sorin screenshot commit b467691 Author: Sorin Ionescu <[email protected]> Date: Tue May 19 17:19:21 2015 -0400 Remove Emacs indicator The user always knows that he is inside Emacs making the indicator unnecessary. commit 999f0d1 Author: Sorin Ionescu <[email protected]> Date: Tue May 19 17:14:36 2015 -0400 Use numerical colors commit f6a2c73 Author: Sorin Ionescu <[email protected]> Date: Tue May 19 17:12:17 2015 -0400 Remove 'git:' prefix commit a1dea6a Author: Sorin Ionescu <[email protected]> Date: Sun Feb 22 19:51:09 2015 -0500 Get Git status asynchronously commit cd50676 Author: Sorin Ionescu <[email protected]> Date: Tue May 19 18:24:04 2015 -0400 Substitute command when alias is undefined commit 6a812ed Author: Scott Stevenson <[email protected]> Date: Tue May 5 21:25:26 2015 +0100 Correct typos in completion module commit ca03fd6 Author: James Conroy-Finn <[email protected]> Date: Sun Mar 1 14:02:05 2015 +0000 Skip setting terminal title inside Emacs commit 08676a2 Author: Sorin Ionescu <[email protected]> Date: Sun May 3 13:39:33 2015 -0400 Update pure theme commit 2076613 Author: Sorin Ionescu <[email protected]> Date: Sun May 3 13:39:09 2015 -0400 Update external history-substring-search commit e9f86bf Author: Alex Wolkov <[email protected]> Date: Fri May 1 16:35:59 2015 +0300 Update the link to iTerm2 and tmux integration Signed-off-by: Sorin Ionescu <[email protected]> commit c98da90 Author: Sorin Ionescu <[email protected]> Date: Tue Apr 7 19:24:44 2015 -0400 Update external history-substring-search commit ac8bc74 Author: Sorin Ionescu <[email protected]> Date: Wed Apr 1 16:21:07 2015 -0400 Update pure theme commit ccca57f Author: Sorin Ionescu <[email protected]> Date: Wed Apr 1 16:20:17 2015 -0400 Update external history-substring-search commit 4016f0c Author: Sorin Ionescu <[email protected]> Date: Wed Apr 1 16:19:52 2015 -0400 Update external completions commit c34098a Author: Sorin Ionescu <[email protected]> Date: Sun Mar 8 23:38:06 2015 -0400 Update copyright commit ee0b024 Author: Sorin Ionescu <[email protected]> Date: Tue Feb 24 15:29:25 2015 -0500 [Fix sorin-ionescu#819] Check for node as a last resort commit e144abb Author: Tobias Witt <[email protected]> Date: Mon Feb 23 17:23:28 2015 +0100 Fix node-module The change recently introduced for sorin-ionescu#777 was actually breaking the module completely, as it was only loaded if neither `node` nor `nvm` were available. commit b41f485 Author: Sorin Ionescu <[email protected]> Date: Sun Feb 22 23:52:41 2015 -0500 Add missing parenthesis The bug was introduced in 933c61b. commit ab45ade Author: Sorin Ionescu <[email protected]> Date: Sun Feb 22 21:56:12 2015 -0500 [Fix sorin-ionescu#801] Make $TMPPREFIX a file path commit 1292587 Author: Sorin Ionescu <[email protected]> Date: Sun Feb 22 21:53:40 2015 -0500 [Fix sorin-ionescu#777] Check for nvm or node commit 933c61b Author: Sorin Ionescu <[email protected]> Date: Sun Feb 22 21:42:11 2015 -0500 [Fix sorin-ionescu#776] Support GNU top commit 88aee30 Author: Sorin Ionescu <[email protected]> Date: Fri Feb 13 00:00:27 2015 -0500 [Fix sorin-ionescu#762] Use $LOGNAME instead of $USER $USER is deprecated. commit 4411c95 Author: Sorin Ionescu <[email protected]> Date: Thu Feb 12 19:17:38 2015 -0500 Update pure theme commit 62d87ca Author: Sorin Ionescu <[email protected]> Date: Thu Feb 12 19:15:47 2015 -0500 Update external completions commit d43bcb9 Author: Sorin Ionescu <[email protected]> Date: Mon Dec 8 18:21:00 2014 -0500 Revert "Remove extra git-dir call in git-info and use git_dir variable instead" This reverts commit 3012c09. commit ba351df Author: Sorin Ionescu <[email protected]> Date: Mon Dec 8 18:13:25 2014 -0500 [Fix sorin-ionescu#748] Set grep color for BSD and GNU commit 925b94b Author: Jacob Swartwood <[email protected]> Date: Wed Dec 3 17:30:52 2014 -0500 Fix Powerline unicode characters Branch & separator characters are updated to display properly. commit c171621 Author: Ranek Kiil <[email protected]> Date: Mon Dec 1 23:28:02 2014 -0700 Fix issue with several themes where errors occur if the git module is not loaded. commit 0148ee6 Author: Mathias Fussenegger <[email protected]> Date: Thu Nov 27 22:19:13 2014 +0100 Check for S.gpg-agent to see if gpg-agent is running From GnuPG changelog: > Removed the GPG_AGENT_INFO related code. GnuPG does now > always use a fixed socket name in its home directory. Signed-off-by: Sorin Ionescu <[email protected]> commit fc3f802 Author: Grégoire Détrez <[email protected]> Date: Thu Nov 27 04:19:26 2014 +0100 Add a preexec hook to set the GPG-Agent TTY Signed-off-by: Sorin Ionescu <[email protected]> commit 9539341 Author: Sorin Ionescu <[email protected]> Date: Mon Nov 24 13:05:34 2014 -0500 [Fix sorin-ionescu#732] Replace $GREP_OPTIONS with an alias commit 13d1ed1 Author: nfnty <[email protected]> Date: Sat Nov 22 04:37:11 2014 +0100 Use $GNUPGHOME if it exists commit 2a33581 Author: Harry Terkelsen <[email protected]> Date: Fri Nov 14 23:50:03 2014 -0800 [Fix sorin-ionescu#724] Unquote variable Signed-off-by: Sorin Ionescu <[email protected]> commit 3dd4cbc Author: Rys Sommefeldt <[email protected]> Date: Fri Nov 14 20:12:21 2014 +0000 Fix typo Signed-off-by: Sorin Ionescu <[email protected]> commit 7a92046 Author: Sorin Ionescu <[email protected]> Date: Thu Nov 13 19:40:37 2014 -0500 Create a new tmux session if none exists commit 3012c09 Author: Yegor Pomortsev <[email protected]> Date: Wed Nov 12 15:48:02 2014 -0800 Remove extra git-dir call in git-info and use git_dir variable instead commit 00a5639 Author: Daniel Kolakowski <[email protected]> Date: Fri Nov 7 00:15:23 2014 +0100 Enable iTerm2 tmux integration Signed-off-by: Sorin Ionescu <[email protected]> commit 3cb1f7c Author: Ralph von der Heyden <[email protected]> Date: Fri Nov 7 16:56:10 2014 +0100 Inform how to add SSH identities to Keychain Signed-off-by: Sorin Ionescu <[email protected]> commit 90eae2b Author: Shane O'Grady <[email protected]> Date: Wed Jun 4 11:41:11 2014 -0300 If a default Ruby is set, switch to it Set PATH variables to allow gems such as Bundler to be found and for the `ruby-info` function to properly work. A default Ruby must be set in ~/.ruby-version; for more information, see https://github.com/postmodern/chruby#default-ruby. Signed-off-by: Sorin Ionescu <[email protected]> commit d349c1c Author: Sorin Ionescu <[email protected]> Date: Tue May 21 20:51:19 2013 -0400 Convert the PeepCode theme to git-info commit a7a4912 Author: Sorin Ionescu <[email protected]> Date: Sat Oct 18 11:30:07 2014 -0400 Add paradox theme commit 82710c2 Author: Sorin Ionescu <[email protected]> Date: Tue Oct 14 19:32:48 2014 -0400 Fix theme function declaration style commit 9f82926 Author: Sorin Ionescu <[email protected]> Date: Tue Oct 14 18:55:40 2014 -0400 Add pure theme commit 61e91b8 Author: Sorin Ionescu <[email protected]> Date: Tue Oct 14 14:07:06 2014 -0400 Add agnoster theme commit 967c91a Author: Sorin Ionescu <[email protected]> Date: Wed Oct 8 02:30:13 2014 -0400 Add powerline theme commit 087fce8 Author: Sorin Ionescu <[email protected]> Date: Mon Oct 13 23:16:57 2014 -0400 Update sorin theme screenshot commit 2ae905a Author: Sorin Ionescu <[email protected]> Date: Mon Oct 13 23:16:19 2014 -0400 Indicate inside Emacs commit 19fc31c Author: Sorin Ionescu <[email protected]> Date: Sun Aug 18 22:36:02 2013 -0400 Indicate SSH connections commit e76df60 Author: Kevin Laude <[email protected]> Date: Tue Aug 26 00:54:05 2014 -0500 Add cloud theme Signed-off-by: Sorin Ionescu <[email protected]> commit c2d62c3 Author: Sorin Ionescu <[email protected]> Date: Mon Mar 10 16:48:47 2014 -0400 Add ruby-info to smiley theme commit 03336db Author: Nadav Shatz <[email protected]> Date: Mon Mar 10 16:31:14 2014 -0400 Add smiley theme Signed-off-by: Sorin Ionescu <[email protected]> commit 1bc4235 Author: Sorin Ionescu <[email protected]> Date: Mon Oct 13 21:27:17 2014 -0400 Escape '%' in path commit c078c47 Author: Daniel Møller Kristensen <[email protected]> Date: Thu Jul 11 20:19:54 2013 +0200 Add damoekri theme Signed-off-by: Sorin Ionescu <[email protected]> commit 0bede67 Author: Sorin Ionescu <[email protected]> Date: Sun May 19 17:48:02 2013 -0400 Add kylewest theme commit ad09f29 Author: Sorin Ionescu <[email protected]> Date: Sun May 19 17:48:02 2013 -0400 Add skwp theme commit 567506f Author: Paul Gideon Dann <[email protected]> Date: Wed Nov 13 10:46:35 2013 +0000 Update giddie theme Signed-off-by: Sorin Ionescu <[email protected]> commit 13ed3a1 Author: Sorin Ionescu <[email protected]> Date: Sun May 19 16:56:28 2013 -0400 Add giddie theme commit 6f9c166 Author: Indrajit Raychaudhuri <[email protected]> Date: Sat Jul 6 11:28:53 2013 -0500 Use short apothegms only in fortune commit ab7f697 Author: Sorin Ionescu <[email protected]> Date: Wed Nov 5 17:41:36 2014 -0500 [Fix sorin-ionescu#713] Set prompt theme off in unsupported terminal commit d020d34 Author: Linh M. Tran <[email protected]> Date: Sun Oct 19 17:21:54 2014 +0700 Fix node-info to show right node version Currently, node-info shows nothing if $version is different than 'none'. commit 17a6124 Author: Milan Milanov <[email protected]> Date: Sat Oct 18 16:32:49 2014 +0200 Fix git log pretty format argument commit 3c47c57 Author: Sorin Ionescu <[email protected]> Date: Wed Oct 15 18:54:24 2014 -0400 [Fix sorin-ionescu#698] Describe module in README the same as in code commit ff0cdd3 Author: Jeff Widman <[email protected]> Date: Wed Oct 15 05:32:20 2014 -0700 Fix typo in Perl module readme commit b948e36 Author: Sorin Ionescu <[email protected]> Date: Mon Oct 13 11:57:20 2014 -0400 Load Homebrew installed NVM commit 55e4db9 Author: Indrajit Raychaudhuri <[email protected]> Date: Sat Oct 11 23:27:04 2014 +0530 Enable 'acls', 'xattrs' support in rsync whenever available rsync has support for these available in most cases and isn't specific to Mac OS X any more. Signed-off-by: Sorin Ionescu <[email protected]> commit 53bd555 Author: Indrajit Raychaudhuri <[email protected]> Date: Sat May 3 15:56:36 2014 -0500 Try `lesspipe` in addition to `lesspipe.sh` for LESSOPEN Debian based systems have `lesspipe`, without '.sh' suffix. Since `$commands` is an associative array, we do index search and set the input preprocessor on first match. commit 86ba5b6 Author: Ivan Alejandro <[email protected]> Date: Wed Apr 9 00:48:07 2014 -0300 Ignore case in filenames Signed-off-by: Sorin Ionescu <[email protected]> commit 5791c07 Author: Joel Kuzmarski <[email protected]> Date: Wed May 7 09:57:21 2014 -0500 Only print fortunes in terminals commit 34a50c2 Author: Griffin Yourick <[email protected]> Date: Fri May 2 15:20:23 2014 -0400 Add homebrew-cask aliases to homebrew module Signed-off-by: Sorin Ionescu <[email protected]> commit 417b9d4 Author: Sebastian Wiesner <[email protected]> Date: Thu Apr 24 16:35:33 2014 +0200 Update OPAM setup Recent OPAM versions generate more elaborate setup code. commit fea08d4 Author: Humberto Morales <[email protected]> Date: Tue Sep 2 16:29:18 2014 -0700 [Fix sorin-ionescu#669] Do not use lazy virtualenvwrapper Lazy virtualenvwrapper completion crashes Zsh. Signed-off-by: Sorin Ionescu <[email protected]> commit d3f1441 Author: Sorin Ionescu <[email protected]> Date: Thu Oct 9 23:31:01 2014 -0400 [Fix sorin-ionescu#595] Simplify the handling of the Terminal.app proxy icon commit a84ac5b Author: Sorin Ionescu <[email protected]> Date: Thu Oct 9 23:27:58 2014 -0400 Only one newline at end of file commit 10c33ec Author: Sorin Ionescu <[email protected]> Date: Thu Oct 9 20:35:48 2014 -0400 Convert tabs to spaces commit 9b1f39f Author: Sorin Ionescu <[email protected]> Date: Thu Oct 9 13:04:30 2014 -0400 [Fix sorin-ionescu#563] Control+Arrow keys are not in the terminfo database commit 36ade25 Author: Sorin Ionescu <[email protected]> Date: Wed Oct 8 19:00:14 2014 -0400 [Fix sorin-ionescu#652] Execute abs with sudo commit 8f711d6 Author: Sorin Ionescu <[email protected]> Date: Mon Oct 6 23:36:10 2014 -0400 [Fix sorin-ionescu#594] Remove quotes surrounding associative array key commit c4b50ec Author: Sorin Ionescu <[email protected]> Date: Mon Oct 6 18:02:45 2014 -0400 [Fix sorin-ionescu#635] Use $BROWSER to open node documentation commit 62198b0 Author: Jongwook Choi <[email protected]> Date: Mon Oct 6 13:03:23 2014 +0900 Display full command line on suggestion for the kill command For the zsh suggestion for the 'kill' command, show full command line (command: usually with arguments) instead of only the executable name (comm). commit b4884d4 Author: Sorin Ionescu <[email protected]> Date: Mon Oct 6 16:54:21 2014 -0400 [Fix sorin-ionescu#626] Escape '%' in path commit abfc4ab Author: Sorin Ionescu <[email protected]> Date: Mon Oct 6 16:50:03 2014 -0400 [Fix sorin-ionescu#648] Do not instruct users to call editor-info commit 657e8a1 Author: Sorin Ionescu <[email protected]> Date: Mon Oct 6 16:42:22 2014 -0400 [Fix sorin-ionescu#689] Use GPG_AGENT_INFO instead of GPG_AGENT_PID GPG_AGENT_PID may not be defined. Also, source gpg-agent.env before checking the PID. commit ea25ccf Author: Sorin Ionescu <[email protected]> Date: Sun Oct 5 21:46:58 2014 -0400 Set default GPG_AGENT_PID for grep If `GPG_AGENT_PID` is unset, grep will succeed if another gpg-agent is running as it will match the string `gpg-agent` where the PID was an empty string. Set a default value for grep to a value that will never match if unset, i.e. -1. commit 3e88b8b Author: Kyle Manna <[email protected]> Date: Wed Aug 27 21:01:57 2014 -0700 Set default SSH_AGENT_PID for grep If `SSH_AGENT_PID` is unset, grep will succeed if another ssh-agent is running as it will match the string `ssh-agent` where the PID was an empty string. Set a default value for grep to a value that will never match if unset, i.e. -1. Signed-off-by: Sorin Ionescu <[email protected]> commit e892d7f Author: deshtop <[email protected]> Date: Mon Aug 25 17:14:51 2014 +0200 Fix broken link to 256 color formatting blogpost Signed-off-by: Sorin Ionescu <[email protected]> commit 4e4a6fc Author: Trevor Bekolay <[email protected]> Date: Fri Aug 8 15:21:18 2014 -0400 Don't set node-info if version is 'none' This is done to make it easier to not show node-info in themes when no node version is currently in use. This is consistent with how the Python module's python-info works. Signed-off-by: Sorin Ionescu <[email protected]> commit 3e8349d Author: lucy <[email protected]> Date: Wed Jul 16 04:38:57 2014 +0200 Use the `x` command for unrar and rar to preserve paths unrar and rar will discard everything up to the file name when extracting with `e`. This breaks extraction of archives that have files with duplicate file names and ones where the paths are important. The `x` command extracts with the full path instead. commit fdb406f Author: Seizan Shimazaki <[email protected]> Date: Wed May 7 11:11:21 2014 +0900 Fix typo commit 493bf30 Author: eukaryote <[email protected]> Date: Thu Apr 17 08:30:18 2014 -0700 Ensure dircolors uses sh syntax Signed-off-by: Sorin Ionescu <[email protected]> commit a217af9 Author: Grégoire Détrez <[email protected]> Date: Fri Sep 12 16:39:38 2014 +0200 Prezto only enables the main syntax highlighter Signed-off-by: Sorin Ionescu <[email protected]> commit 06cc508 Author: Sorin Ionescu <[email protected]> Date: Sun Oct 5 21:10:27 2014 -0400 [Fix sorin-ionescu#630] Zsh v4.3.17 is the minimum required commit 5088ca4 Author: Chauncey Garrett <[email protected]> Date: Fri Aug 29 12:09:15 2014 -0500 Bump minimum supported Zsh to v4.3.11 zsh-syntax-highlighting requires this version. Signed-off-by: Sorin Ionescu <[email protected]> commit 0f696fc Author: Sorin Ionescu <[email protected]> Date: Sun Oct 5 20:16:26 2014 -0400 Update external syntax-highlighting commit 96bcf81 Author: Sorin Ionescu <[email protected]> Date: Sun Oct 5 20:15:43 2014 -0400 Update external history-substring-search commit fe8f9a9 Author: Sorin Ionescu <[email protected]> Date: Sun Oct 5 20:14:25 2014 -0400 Update external completions
commit 4f19700 Author: Sorin Ionescu <[email protected]> Date: Wed Mar 2 23:29:51 2016 -0500 Add missing syntax highlighter commit c8b8397 Author: Sorin Ionescu <[email protected]> Date: Wed Mar 2 16:31:30 2016 -0500 [Fix sorin-ionescu#532] Integrate autosuggestions commit 8bd720b Author: Sorin Ionescu <[email protected]> Date: Sun Feb 28 22:32:40 2016 -0500 Update pure theme commit 38baf39 Author: Sorin Ionescu <[email protected]> Date: Sun Feb 28 22:32:12 2016 -0500 Update external syntax-highlighting commit e36eed9 Author: Sorin Ionescu <[email protected]> Date: Sun Feb 28 22:31:46 2016 -0500 Update external history-substring-search commit 64aa907 Author: Sorin Ionescu <[email protected]> Date: Sun Feb 28 22:31:21 2016 -0500 Update external completions commit 7227c4f Author: Zach Riggle <[email protected]> Date: Fri Jul 31 16:00:17 2015 -0400 Fix unarchive for .deb which uses xz, and absolute paths commit 2ad1b2f Author: Andrew Schwartzmeyer <[email protected]> Date: Tue Jul 21 15:01:31 2015 -0700 Load add-zsh-hook in GPG module Fixes this error: ~/.zprezto/modules/gpg/init.zsh:43: command not found: add-zsh-hook commit a7e4b44 Author: Ryan S. Brown <[email protected]> Date: Sat Jul 11 15:53:23 2015 -0400 Fix typo in yum module README commit 02b3d32 Author: Ryan Brown <[email protected]> Date: Thu Jul 9 18:46:09 2015 -0400 Fix typo in dnf module README commit e641c21 Author: Sorin Ionescu <[email protected]> Date: Wed Nov 11 22:56:39 2015 -0500 [Fix sorin-ionescu#940] Update agnoster theme remote URL commit 165879d Author: Sorin Ionescu <[email protected]> Date: Mon Nov 9 02:09:48 2015 -0500 Update pure theme commit de9ed06 Author: Sorin Ionescu <[email protected]> Date: Mon Nov 9 02:09:30 2015 -0500 Update external syntax-highlighting commit c05fbed Author: Sorin Ionescu <[email protected]> Date: Mon Nov 9 02:08:59 2015 -0500 Update external history-substring-search commit e137068 Author: Sorin Ionescu <[email protected]> Date: Mon Nov 9 02:08:40 2015 -0500 Update external completions commit f2a826e Author: Sorin Ionescu <[email protected]> Date: Sun May 31 16:51:29 2015 -0400 Add preview function to sorin theme commit bdec6c4 Author: Sorin Ionescu <[email protected]> Date: Sun May 31 16:50:03 2015 -0400 Redraw only when called from subprocess commit ef634f3 Author: Sorin Ionescu <[email protected]> Date: Sun May 31 16:47:16 2015 -0400 Replace signal TERM with KILL commit b761261 Author: Sorin Ionescu <[email protected]> Date: Sun May 31 16:46:42 2015 -0400 Replace signal USR1 with WINCH commit 02c5f77 Author: Sorin Ionescu <[email protected]> Date: Thu May 28 20:24:58 2015 -0400 [Fix sorin-ionescu#892] Symlink prompt pure async dependency commit a275db5 Author: Sorin Ionescu <[email protected]> Date: Mon May 25 22:25:22 2015 -0400 Fix MacPorts typo commit b6efdc1 Author: FireWave <[email protected]> Date: Thu Mar 28 16:58:10 2013 -0400 Add DNF module Signed-off-by: Sorin Ionescu <[email protected]> commit 904c944 Author: Sorin Ionescu <[email protected]> Date: Tue May 26 22:05:49 2015 -0400 Consolidate brew update and upgrade aliases commit 1594188 Author: Quang-Linh LE <[email protected]> Date: Wed Dec 10 08:54:54 2014 +0100 Add Linux as as requirement commit f7ea780 Author: Sorin Ionescu <[email protected]> Date: Mon May 25 21:58:43 2015 -0400 Update pure theme commit fe64f91 Author: Sorin Ionescu <[email protected]> Date: Tue May 19 17:39:00 2015 -0400 Update sorin screenshot commit b467691 Author: Sorin Ionescu <[email protected]> Date: Tue May 19 17:19:21 2015 -0400 Remove Emacs indicator The user always knows that he is inside Emacs making the indicator unnecessary. commit 999f0d1 Author: Sorin Ionescu <[email protected]> Date: Tue May 19 17:14:36 2015 -0400 Use numerical colors commit f6a2c73 Author: Sorin Ionescu <[email protected]> Date: Tue May 19 17:12:17 2015 -0400 Remove 'git:' prefix commit a1dea6a Author: Sorin Ionescu <[email protected]> Date: Sun Feb 22 19:51:09 2015 -0500 Get Git status asynchronously commit cd50676 Author: Sorin Ionescu <[email protected]> Date: Tue May 19 18:24:04 2015 -0400 Substitute command when alias is undefined commit 6a812ed Author: Scott Stevenson <[email protected]> Date: Tue May 5 21:25:26 2015 +0100 Correct typos in completion module commit ca03fd6 Author: James Conroy-Finn <[email protected]> Date: Sun Mar 1 14:02:05 2015 +0000 Skip setting terminal title inside Emacs commit 08676a2 Author: Sorin Ionescu <[email protected]> Date: Sun May 3 13:39:33 2015 -0400 Update pure theme commit 2076613 Author: Sorin Ionescu <[email protected]> Date: Sun May 3 13:39:09 2015 -0400 Update external history-substring-search commit e9f86bf Author: Alex Wolkov <[email protected]> Date: Fri May 1 16:35:59 2015 +0300 Update the link to iTerm2 and tmux integration Signed-off-by: Sorin Ionescu <[email protected]> commit c98da90 Author: Sorin Ionescu <[email protected]> Date: Tue Apr 7 19:24:44 2015 -0400 Update external history-substring-search commit ac8bc74 Author: Sorin Ionescu <[email protected]> Date: Wed Apr 1 16:21:07 2015 -0400 Update pure theme commit ccca57f Author: Sorin Ionescu <[email protected]> Date: Wed Apr 1 16:20:17 2015 -0400 Update external history-substring-search commit 4016f0c Author: Sorin Ionescu <[email protected]> Date: Wed Apr 1 16:19:52 2015 -0400 Update external completions commit c34098a Author: Sorin Ionescu <[email protected]> Date: Sun Mar 8 23:38:06 2015 -0400 Update copyright commit ee0b024 Author: Sorin Ionescu <[email protected]> Date: Tue Feb 24 15:29:25 2015 -0500 [Fix sorin-ionescu#819] Check for node as a last resort commit e144abb Author: Tobias Witt <[email protected]> Date: Mon Feb 23 17:23:28 2015 +0100 Fix node-module The change recently introduced for sorin-ionescu#777 was actually breaking the module completely, as it was only loaded if neither `node` nor `nvm` were available. commit b41f485 Author: Sorin Ionescu <[email protected]> Date: Sun Feb 22 23:52:41 2015 -0500 Add missing parenthesis The bug was introduced in 933c61b. commit ab45ade Author: Sorin Ionescu <[email protected]> Date: Sun Feb 22 21:56:12 2015 -0500 [Fix sorin-ionescu#801] Make $TMPPREFIX a file path commit 1292587 Author: Sorin Ionescu <[email protected]> Date: Sun Feb 22 21:53:40 2015 -0500 [Fix sorin-ionescu#777] Check for nvm or node commit 933c61b Author: Sorin Ionescu <[email protected]> Date: Sun Feb 22 21:42:11 2015 -0500 [Fix sorin-ionescu#776] Support GNU top commit 88aee30 Author: Sorin Ionescu <[email protected]> Date: Fri Feb 13 00:00:27 2015 -0500 [Fix sorin-ionescu#762] Use $LOGNAME instead of $USER $USER is deprecated. commit 4411c95 Author: Sorin Ionescu <[email protected]> Date: Thu Feb 12 19:17:38 2015 -0500 Update pure theme commit 62d87ca Author: Sorin Ionescu <[email protected]> Date: Thu Feb 12 19:15:47 2015 -0500 Update external completions commit d43bcb9 Author: Sorin Ionescu <[email protected]> Date: Mon Dec 8 18:21:00 2014 -0500 Revert "Remove extra git-dir call in git-info and use git_dir variable instead" This reverts commit 3012c09. commit ba351df Author: Sorin Ionescu <[email protected]> Date: Mon Dec 8 18:13:25 2014 -0500 [Fix sorin-ionescu#748] Set grep color for BSD and GNU commit 925b94b Author: Jacob Swartwood <[email protected]> Date: Wed Dec 3 17:30:52 2014 -0500 Fix Powerline unicode characters Branch & separator characters are updated to display properly. commit c171621 Author: Ranek Kiil <[email protected]> Date: Mon Dec 1 23:28:02 2014 -0700 Fix issue with several themes where errors occur if the git module is not loaded. commit 0148ee6 Author: Mathias Fussenegger <[email protected]> Date: Thu Nov 27 22:19:13 2014 +0100 Check for S.gpg-agent to see if gpg-agent is running From GnuPG changelog: > Removed the GPG_AGENT_INFO related code. GnuPG does now > always use a fixed socket name in its home directory. Signed-off-by: Sorin Ionescu <[email protected]> commit fc3f802 Author: Grégoire Détrez <[email protected]> Date: Thu Nov 27 04:19:26 2014 +0100 Add a preexec hook to set the GPG-Agent TTY Signed-off-by: Sorin Ionescu <[email protected]> commit 9539341 Author: Sorin Ionescu <[email protected]> Date: Mon Nov 24 13:05:34 2014 -0500 [Fix sorin-ionescu#732] Replace $GREP_OPTIONS with an alias commit 13d1ed1 Author: nfnty <[email protected]> Date: Sat Nov 22 04:37:11 2014 +0100 Use $GNUPGHOME if it exists commit 2a33581 Author: Harry Terkelsen <[email protected]> Date: Fri Nov 14 23:50:03 2014 -0800 [Fix sorin-ionescu#724] Unquote variable Signed-off-by: Sorin Ionescu <[email protected]> commit 3dd4cbc Author: Rys Sommefeldt <[email protected]> Date: Fri Nov 14 20:12:21 2014 +0000 Fix typo Signed-off-by: Sorin Ionescu <[email protected]> commit 7a92046 Author: Sorin Ionescu <[email protected]> Date: Thu Nov 13 19:40:37 2014 -0500 Create a new tmux session if none exists commit 3012c09 Author: Yegor Pomortsev <[email protected]> Date: Wed Nov 12 15:48:02 2014 -0800 Remove extra git-dir call in git-info and use git_dir variable instead commit 00a5639 Author: Daniel Kolakowski <[email protected]> Date: Fri Nov 7 00:15:23 2014 +0100 Enable iTerm2 tmux integration Signed-off-by: Sorin Ionescu <[email protected]> commit 3cb1f7c Author: Ralph von der Heyden <[email protected]> Date: Fri Nov 7 16:56:10 2014 +0100 Inform how to add SSH identities to Keychain Signed-off-by: Sorin Ionescu <[email protected]> commit 90eae2b Author: Shane O'Grady <[email protected]> Date: Wed Jun 4 11:41:11 2014 -0300 If a default Ruby is set, switch to it Set PATH variables to allow gems such as Bundler to be found and for the `ruby-info` function to properly work. A default Ruby must be set in ~/.ruby-version; for more information, see https://github.com/postmodern/chruby#default-ruby. Signed-off-by: Sorin Ionescu <[email protected]> commit d349c1c Author: Sorin Ionescu <[email protected]> Date: Tue May 21 20:51:19 2013 -0400 Convert the PeepCode theme to git-info commit a7a4912 Author: Sorin Ionescu <[email protected]> Date: Sat Oct 18 11:30:07 2014 -0400 Add paradox theme commit 82710c2 Author: Sorin Ionescu <[email protected]> Date: Tue Oct 14 19:32:48 2014 -0400 Fix theme function declaration style commit 9f82926 Author: Sorin Ionescu <[email protected]> Date: Tue Oct 14 18:55:40 2014 -0400 Add pure theme commit 61e91b8 Author: Sorin Ionescu <[email protected]> Date: Tue Oct 14 14:07:06 2014 -0400 Add agnoster theme commit 967c91a Author: Sorin Ionescu <[email protected]> Date: Wed Oct 8 02:30:13 2014 -0400 Add powerline theme commit 087fce8 Author: Sorin Ionescu <[email protected]> Date: Mon Oct 13 23:16:57 2014 -0400 Update sorin theme screenshot commit 2ae905a Author: Sorin Ionescu <[email protected]> Date: Mon Oct 13 23:16:19 2014 -0400 Indicate inside Emacs commit 19fc31c Author: Sorin Ionescu <[email protected]> Date: Sun Aug 18 22:36:02 2013 -0400 Indicate SSH connections commit e76df60 Author: Kevin Laude <[email protected]> Date: Tue Aug 26 00:54:05 2014 -0500 Add cloud theme Signed-off-by: Sorin Ionescu <[email protected]> commit c2d62c3 Author: Sorin Ionescu <[email protected]> Date: Mon Mar 10 16:48:47 2014 -0400 Add ruby-info to smiley theme commit 03336db Author: Nadav Shatz <[email protected]> Date: Mon Mar 10 16:31:14 2014 -0400 Add smiley theme Signed-off-by: Sorin Ionescu <[email protected]> commit 1bc4235 Author: Sorin Ionescu <[email protected]> Date: Mon Oct 13 21:27:17 2014 -0400 Escape '%' in path commit c078c47 Author: Daniel Møller Kristensen <[email protected]> Date: Thu Jul 11 20:19:54 2013 +0200 Add damoekri theme Signed-off-by: Sorin Ionescu <[email protected]> commit 0bede67 Author: Sorin Ionescu <[email protected]> Date: Sun May 19 17:48:02 2013 -0400 Add kylewest theme commit ad09f29 Author: Sorin Ionescu <[email protected]> Date: Sun May 19 17:48:02 2013 -0400 Add skwp theme commit 567506f Author: Paul Gideon Dann <[email protected]> Date: Wed Nov 13 10:46:35 2013 +0000 Update giddie theme Signed-off-by: Sorin Ionescu <[email protected]> commit 13ed3a1 Author: Sorin Ionescu <[email protected]> Date: Sun May 19 16:56:28 2013 -0400 Add giddie theme commit 6f9c166 Author: Indrajit Raychaudhuri <[email protected]> Date: Sat Jul 6 11:28:53 2013 -0500 Use short apothegms only in fortune commit ab7f697 Author: Sorin Ionescu <[email protected]> Date: Wed Nov 5 17:41:36 2014 -0500 [Fix sorin-ionescu#713] Set prompt theme off in unsupported terminal commit d020d34 Author: Linh M. Tran <[email protected]> Date: Sun Oct 19 17:21:54 2014 +0700 Fix node-info to show right node version Currently, node-info shows nothing if $version is different than 'none'. commit 17a6124 Author: Milan Milanov <[email protected]> Date: Sat Oct 18 16:32:49 2014 +0200 Fix git log pretty format argument commit 3c47c57 Author: Sorin Ionescu <[email protected]> Date: Wed Oct 15 18:54:24 2014 -0400 [Fix sorin-ionescu#698] Describe module in README the same as in code commit ff0cdd3 Author: Jeff Widman <[email protected]> Date: Wed Oct 15 05:32:20 2014 -0700 Fix typo in Perl module readme commit b948e36 Author: Sorin Ionescu <[email protected]> Date: Mon Oct 13 11:57:20 2014 -0400 Load Homebrew installed NVM commit 55e4db9 Author: Indrajit Raychaudhuri <[email protected]> Date: Sat Oct 11 23:27:04 2014 +0530 Enable 'acls', 'xattrs' support in rsync whenever available rsync has support for these available in most cases and isn't specific to Mac OS X any more. Signed-off-by: Sorin Ionescu <[email protected]> commit 53bd555 Author: Indrajit Raychaudhuri <[email protected]> Date: Sat May 3 15:56:36 2014 -0500 Try `lesspipe` in addition to `lesspipe.sh` for LESSOPEN Debian based systems have `lesspipe`, without '.sh' suffix. Since `$commands` is an associative array, we do index search and set the input preprocessor on first match. commit 86ba5b6 Author: Ivan Alejandro <[email protected]> Date: Wed Apr 9 00:48:07 2014 -0300 Ignore case in filenames Signed-off-by: Sorin Ionescu <[email protected]> commit 5791c07 Author: Joel Kuzmarski <[email protected]> Date: Wed May 7 09:57:21 2014 -0500 Only print fortunes in terminals commit 34a50c2 Author: Griffin Yourick <[email protected]> Date: Fri May 2 15:20:23 2014 -0400 Add homebrew-cask aliases to homebrew module Signed-off-by: Sorin Ionescu <[email protected]> commit 417b9d4 Author: Sebastian Wiesner <[email protected]> Date: Thu Apr 24 16:35:33 2014 +0200 Update OPAM setup Recent OPAM versions generate more elaborate setup code. commit fea08d4 Author: Humberto Morales <[email protected]> Date: Tue Sep 2 16:29:18 2014 -0700 [Fix sorin-ionescu#669] Do not use lazy virtualenvwrapper Lazy virtualenvwrapper completion crashes Zsh. Signed-off-by: Sorin Ionescu <[email protected]> commit d3f1441 Author: Sorin Ionescu <[email protected]> Date: Thu Oct 9 23:31:01 2014 -0400 [Fix sorin-ionescu#595] Simplify the handling of the Terminal.app proxy icon commit a84ac5b Author: Sorin Ionescu <[email protected]> Date: Thu Oct 9 23:27:58 2014 -0400 Only one newline at end of file commit 10c33ec Author: Sorin Ionescu <[email protected]> Date: Thu Oct 9 20:35:48 2014 -0400 Convert tabs to spaces commit 9b1f39f Author: Sorin Ionescu <[email protected]> Date: Thu Oct 9 13:04:30 2014 -0400 [Fix sorin-ionescu#563] Control+Arrow keys are not in the terminfo database commit 36ade25 Author: Sorin Ionescu <[email protected]> Date: Wed Oct 8 19:00:14 2014 -0400 [Fix sorin-ionescu#652] Execute abs with sudo commit 8f711d6 Author: Sorin Ionescu <[email protected]> Date: Mon Oct 6 23:36:10 2014 -0400 [Fix sorin-ionescu#594] Remove quotes surrounding associative array key commit c4b50ec Author: Sorin Ionescu <[email protected]> Date: Mon Oct 6 18:02:45 2014 -0400 [Fix sorin-ionescu#635] Use $BROWSER to open node documentation commit 62198b0 Author: Jongwook Choi <[email protected]> Date: Mon Oct 6 13:03:23 2014 +0900 Display full command line on suggestion for the kill command For the zsh suggestion for the 'kill' command, show full command line (command: usually with arguments) instead of only the executable name (comm). commit b4884d4 Author: Sorin Ionescu <[email protected]> Date: Mon Oct 6 16:54:21 2014 -0400 [Fix sorin-ionescu#626] Escape '%' in path commit abfc4ab Author: Sorin Ionescu <[email protected]> Date: Mon Oct 6 16:50:03 2014 -0400 [Fix sorin-ionescu#648] Do not instruct users to call editor-info commit 657e8a1 Author: Sorin Ionescu <[email protected]> Date: Mon Oct 6 16:42:22 2014 -0400 [Fix sorin-ionescu#689] Use GPG_AGENT_INFO instead of GPG_AGENT_PID GPG_AGENT_PID may not be defined. Also, source gpg-agent.env before checking the PID. commit ea25ccf Author: Sorin Ionescu <[email protected]> Date: Sun Oct 5 21:46:58 2014 -0400 Set default GPG_AGENT_PID for grep If `GPG_AGENT_PID` is unset, grep will succeed if another gpg-agent is running as it will match the string `gpg-agent` where the PID was an empty string. Set a default value for grep to a value that will never match if unset, i.e. -1. commit 3e88b8b Author: Kyle Manna <[email protected]> Date: Wed Aug 27 21:01:57 2014 -0700 Set default SSH_AGENT_PID for grep If `SSH_AGENT_PID` is unset, grep will succeed if another ssh-agent is running as it will match the string `ssh-agent` where the PID was an empty string. Set a default value for grep to a value that will never match if unset, i.e. -1. Signed-off-by: Sorin Ionescu <[email protected]> commit e892d7f Author: deshtop <[email protected]> Date: Mon Aug 25 17:14:51 2014 +0200 Fix broken link to 256 color formatting blogpost Signed-off-by: Sorin Ionescu <[email protected]> commit 4e4a6fc Author: Trevor Bekolay <[email protected]> Date: Fri Aug 8 15:21:18 2014 -0400 Don't set node-info if version is 'none' This is done to make it easier to not show node-info in themes when no node version is currently in use. This is consistent with how the Python module's python-info works. Signed-off-by: Sorin Ionescu <[email protected]> commit 3e8349d Author: lucy <[email protected]> Date: Wed Jul 16 04:38:57 2014 +0200 Use the `x` command for unrar and rar to preserve paths unrar and rar will discard everything up to the file name when extracting with `e`. This breaks extraction of archives that have files with duplicate file names and ones where the paths are important. The `x` command extracts with the full path instead. commit fdb406f Author: Seizan Shimazaki <[email protected]> Date: Wed May 7 11:11:21 2014 +0900 Fix typo commit 493bf30 Author: eukaryote <[email protected]> Date: Thu Apr 17 08:30:18 2014 -0700 Ensure dircolors uses sh syntax Signed-off-by: Sorin Ionescu <[email protected]> commit a217af9 Author: Grégoire Détrez <[email protected]> Date: Fri Sep 12 16:39:38 2014 +0200 Prezto only enables the main syntax highlighter Signed-off-by: Sorin Ionescu <[email protected]> commit 06cc508 Author: Sorin Ionescu <[email protected]> Date: Sun Oct 5 21:10:27 2014 -0400 [Fix sorin-ionescu#630] Zsh v4.3.17 is the minimum required commit 5088ca4 Author: Chauncey Garrett <[email protected]> Date: Fri Aug 29 12:09:15 2014 -0500 Bump minimum supported Zsh to v4.3.11 zsh-syntax-highlighting requires this version. Signed-off-by: Sorin Ionescu <[email protected]> commit 0f696fc Author: Sorin Ionescu <[email protected]> Date: Sun Oct 5 20:16:26 2014 -0400 Update external syntax-highlighting commit 96bcf81 Author: Sorin Ionescu <[email protected]> Date: Sun Oct 5 20:15:43 2014 -0400 Update external history-substring-search commit fe8f9a9 Author: Sorin Ionescu <[email protected]> Date: Sun Oct 5 20:14:25 2014 -0400 Update external completions
Binds some additional sequences to (emacs-)backward-word and forward-word. The problem is that terminfo doesn't know about Ctrl+ArrowKeys, so one has to resort to using raw sequences. The sequences were copied from Debian's /etc/inputrc (readline configuration), so it should be fairly portable. It works in xterm and rxvt terminals, it doesn't work on TERM=linux (virtual console) as Ctrl+Arrows send the same sequence as Arrows alone.
http://zshwiki.org/home/zle/bindkeys
http://sources.debian.net/src/readline6/6.2+dfsg-0.1/debian/inputrc?hl=44#L44