1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 12:48:01 +00:00
Commit Graph

439 Commits

Author SHA1 Message Date
Sorin Ionescu
c2d6b378a6 Cleanup 2014-10-07 19:34:24 -04:00
kernc
7823bb9985 Bind Ctrl+Left to emacs-backward-word (and Right to forward)
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
2014-10-07 00:41:36 -04:00
Sorin Ionescu
8f711d64b5 [Fix #594] Remove quotes surrounding associative array key 2014-10-06 23:36:33 -04:00
Sorin Ionescu
c4b50ec1a0 [Fix #635] Use $BROWSER to open node documentation 2014-10-06 18:02:45 -04:00
Jongwook Choi
62198b0326 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).
2014-10-06 17:03:53 -04:00
Sorin Ionescu
b4884d4d45 [Fix #626] Escape '%' in path 2014-10-06 16:54:21 -04:00
Sorin Ionescu
abfc4ab6e5 [Fix #648] Do not instruct users to call editor-info 2014-10-06 16:50:03 -04:00
Sorin Ionescu
657e8a16f4 [Fix #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.
2014-10-06 16:42:22 -04:00
Sorin Ionescu
ea25ccf62c 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.
2014-10-05 21:46:58 -04:00
Kyle Manna
3e88b8bcdc 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 <sorin.ionescu@gmail.com>
2014-10-05 21:44:20 -04:00
deshtop
e892d7f3c7 Fix broken link to 256 color formatting blogpost
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-10-05 21:26:08 -04:00
Trevor Bekolay
4e4a6fcc63 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 <sorin.ionescu@gmail.com>
2014-10-05 21:22:38 -04:00
lucy
3e8349ddde 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.
2014-10-05 21:14:01 -04:00
Seizan Shimazaki
fdb406f917 Fix typo 2014-10-05 21:12:54 -04:00
eukaryote
493bf302f6 Ensure dircolors uses sh syntax
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-10-05 21:12:54 -04:00
Grégoire Détrez
a217af99f3 Prezto only enables the main syntax highlighter
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-10-05 21:12:53 -04:00
Sorin Ionescu
0f696fc206 Update external syntax-highlighting 2014-10-05 20:16:26 -04:00
Sorin Ionescu
96bcf813b7 Update external history-substring-search 2014-10-05 20:15:43 -04:00
Sorin Ionescu
fe8f9a9b5b Update external completions 2014-10-05 20:14:25 -04:00
Arthur Noel
bf9dbfd5b9 Support $PYTHONUSERBASE per PEP 370
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-04-03 17:55:35 -04:00
Xavier Cambar
ff0dfa424d Create a default tmux session only when none defined in tmux.conf
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-04-03 17:39:46 -04:00
Johannes Doerfert
fedad8e9cf Fix git-info added/deleted count formatting typo
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-03-07 15:52:39 -05:00
Xavier Cambar
478653fab2 [Fix #543] Do not set tmux destroy-unattached
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-03-07 15:48:49 -05:00
Sorin Ionescu
10cf701864 Simplify multiplexer auto-start tests 2014-02-26 17:19:19 -05:00
Sorin Ionescu
7722dd4400 Inform the user to load ruby as late as possible when using RVM 2014-02-17 23:39:22 -05:00
Sorin Ionescu
240eecaddf [Fix #551] Rename tmux auto-start session 2014-02-17 23:27:03 -05:00
Sorin Ionescu
415e4bff3d Fix a test operator bug introduced in e5a0e33 2014-02-17 23:09:11 -05:00
Gaelan D'costa
e5a0e33f1c [Fix #541] Do not auto-load screen/tmux inside of Emacs/Vim
When Emacs and Vim are launched from outside of an interactive shell,
$TMUX and $STY are not set; check for Emacs and Vim environment
variables instead.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-02-17 22:43:49 -05:00
Laurent Goussard
8189577772 Disable glob for bower
Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-02-16 18:29:01 -05:00
Sorin Ionescu
c74cf4b5e0 Prefix rarely used osx functions 2014-02-16 18:00:47 -05:00
Sorin Ionescu
72782528aa Add functions to display and delete osx download history 2014-02-02 20:30:27 -05:00
Sorin Ionescu
02717cb4c1 Update osx alias descriptions 2014-02-02 20:08:55 -05:00
Sorin Ionescu
bccfca8c10 Make osx functions autoloadable 2014-02-02 20:08:21 -05:00
Sorin Ionescu
b8bb51d7b5 Cast AppleScript paths to text 2014-02-02 14:44:22 -05:00
Sorin Ionescu
00e12b7a98 Add capability to browse man pages in Dash.app 2014-02-01 23:39:11 -05:00
Sorin Ionescu
232313e2a0 Remove Bwana.app support
Bwana.app has been stale for years. It no longer works properly.
2014-02-01 23:39:11 -05:00
Sorin Ionescu
e48dac79f3 Add double slash after Bwana.app's man protocol
Safari 6's unified location and search bar can no longer tell the
difference between a protocol and a colon search.
2014-02-01 23:39:11 -05:00
Sorin Ionescu
dbeb6d4e1a [Fix #361] Load chruby when found 2014-02-01 23:37:29 -05:00
Sorin Ionescu
af003d83c5 [Fix #535] Set Pacman frontend to 'pacman' when none set 2014-01-21 22:12:09 -05:00
Kaushal M
839f4a7b83 Fix setting the 'pac' alias 2014-01-13 21:35:38 -05:00
Sorin Ionescu
c091f71283 [Fix #522] Do not load the terminal module in non-graphical terminals 2014-01-09 20:07:40 -05:00
Sorin Ionescu
e1974ad58d [Fix #516] Define ZLE functions separately 2014-01-09 19:58:14 -05:00
Sorin Ionescu
80ded5e33d Revert "Remove utility aliases for Cygwin"
This reverts commit d368d0536b.
2014-01-04 17:30:37 -05:00
Sebastian Wiesner
fa6723a5ee Don't use sudo if implicitly called by Pacman frontend
Don't rely on alias expansion to handle Pacman because aliases
are not expanded in sudo.

Signed-off-by: Sorin Ionescu <sorin.ionescu@gmail.com>
2014-01-04 17:30:37 -05:00
Sorin Ionescu
57b283facd [Fix #514] Use /tmp when $TMPDIR is undefined 2014-01-03 14:20:32 -05:00
Sorin Ionescu
da1a837cd4 Refactor Bundler aliases 2013-11-30 19:25:11 -05:00
Sorin Ionescu
2ebdbdcff5 Update external completions 2013-11-29 20:37:01 -05:00
Sorin Ionescu
eea1eea7dc Update external history-substring-search 2013-11-29 20:36:33 -05:00
Sorin Ionescu
4e9553e896 Update external syntax-highlighting 2013-11-29 20:36:07 -05:00
Sorin Ionescu
50edc45132 [Fix #503] Prefix rails aliases with 'bundle exec' 2013-11-29 08:46:14 -05:00