Commit Graph

997 Commits

Author SHA1 Message Date
Sorin Ionescu
588b52ee94 Increment SHLVL before launching tmux
The incrementing of SHLVL is configuration dependent. It is best to
always increment it to prevent infinite loops.

This reverts commit 17a4505a0a.
2012-03-26 09:28:52 -04:00
Sorin Ionescu
6a9a4ea8d6 [Fix #60] Do not use parentheses in function names 2012-03-23 15:46:49 -04:00
Sorin Ionescu
a3b92bb053 [Fix #51] Make the vi mode indicator more flexible 2012-03-23 15:36:11 -04:00
Sorin Ionescu
854c67ada4 Format clean when the Git repository is not dirty 2012-03-23 10:04:30 -04:00
Sorin Ionescu
bfb46ff802 Differentiate commit from branch 2012-03-23 09:48:56 -04:00
Sorin Ionescu
5e5a7803b6 Fix a formatting bug introduced in cdb95f8 2012-03-22 23:15:03 -04:00
Sorin Ionescu
fe1d2ab77d Fix a spacing bug introduced in cdb95f8 2012-03-22 18:29:01 -04:00
Colin Hebert
7d08a49432 [Fix #37] Improve Git status parsing 2012-03-22 15:25:29 -04:00
Colin Hebert
cdb95f810f [Fix #41] Do not truncate the commit id 2012-03-22 15:03:22 -04:00
Colin Hebert
514aaa014b [Fix #42] Count dirty files in Git repositories 2012-03-21 16:04:15 -04:00
Colin Hebert
17a4505a0a [Fix #59] Do not increment SHLVL, for tmux will 2012-03-21 14:06:09 -04:00
Sorin Ionescu
c508d215e3 Shorten expand-or-complete-prefix-with-indicator 2012-03-20 20:52:42 -04:00
Sorin Ionescu
e5670c37d8 Bind ^P and ^N in the emacs keymap only 2012-03-20 20:33:36 -04:00
Sorin Ionescu
390c353f97 [Fix #35] Add a comment on enabling mouse scroll 2012-03-20 18:42:03 -04:00
Sorin Ionescu
2d0e73c0a7 [Fix #54] Disable less' alternate screen
This reverts commit 34a5743789.
2012-03-20 18:33:42 -04:00
Sorin Ionescu
6ada262fed [Fix #56, Fix #58] Remove the SHELL argument
This fixes the tmux launch_msg() error.
2012-03-20 18:29:06 -04:00
Sorin Ionescu
6c181ce8dc [Fix #50] Remove duplicate expand dot bindings 2012-03-19 10:25:16 -04:00
Sorin Ionescu
12a4117525 [#50] Bind to both emacs and vi keymaps 2012-03-18 20:45:59 -04:00
Sorin Ionescu
9f8b41aaec [Fix #28] Add a widget to insert sudo 2012-03-18 19:24:15 -04:00
Sorin Ionescu
09837b259a [Fix #29] Replace push-line with push-line-or-edit 2012-03-18 19:23:26 -04:00
Sorin Ionescu
6c341cfe35 [#50] Split widget definition from widget binding 2012-03-18 19:00:12 -04:00
Sorin Ionescu
a51cfb43a6 [Fix #46] Show vicmd indicator in all keymaps 2012-03-18 18:47:36 -04:00
Sorin Ionescu
b4fd92d98a Remove wrong viins keymap in global mappings 2012-03-18 18:10:48 -04:00
Sorin Ionescu
9c611ce7e5 [Fix #45] Set the terminal erase sequence 2012-03-18 18:05:50 -04:00
Sorin Ionescu
03e4cfd3b1 Split a few key bindings to fit on screen 2012-03-18 12:11:42 -04:00
Sorin Ionescu
541f05eb67 Transpose search previous character, match bracket 2012-03-18 11:51:02 -04:00
Sorin Ionescu
f5a976637e Fix Emacs backward-kill-line binding 2012-03-18 10:24:26 -04:00
Sorin Ionescu
64d0e35ca4 Remove already defined key bindings 2012-03-18 10:17:57 -04:00
Sorin Ionescu
ef452a8b56 Remove Emacs key bindings in vi insert mode, #50
Those who want Emacs key bindings in vi insert mode can just use the
Emacs layout and press ^X^V to enter vi command mode.
2012-03-18 10:05:41 -04:00
Sorin Ionescu
d525683f58 Bind lower and upper case where needed; close #48 2012-03-18 09:35:47 -04:00
Sorin Ionescu
75176573c5 Use the same casing as bindkey -L, close #47 2012-03-17 21:26:48 -04:00
Sorin Ionescu
f96a3b4d6e Remove the history-substring-search README
The README is not relevant in the Oh My Zsh context.
2012-03-17 18:03:28 -04:00
Sorin Ionescu
f922b91417 Enable brace character class list expansion 2012-03-17 11:10:17 -04:00
Sorin Ionescu
34a5743789 Do not disable less' alternate screen, close #35
While the '-X' switch allows the user to quit less with the relevant
portion of a man page still visible, it breaks mouse scrolling.
2012-03-17 10:56:56 -04:00
Sorin Ionescu
f3a0366438 Remove Zsh HEAD Git completion, close #38 2012-03-14 16:49:37 -04:00
Sorin Ionescu
a6fb92abc9 Simplify ls aliases 2012-03-13 19:05:10 -04:00
Sorin Ionescu
ae5aa85967 Fix comment indentation 2012-03-13 18:43:48 -04:00
Sorin Ionescu
cbffacd245 Fix GNU core utilities ls aliases, close #31 2012-03-13 18:42:03 -04:00
Sorin Ionescu
04c3df512a Retain search query highlight on cursor move
@guidovansteen discovered inconsistent behaviour when
zsh-syntax-highlighting is not sourced prior to
zsh-history-substring-search.

https://github.com/zsh-users/zsh-history-substring-search/issues/9

@sunaku wrote this patch.
2012-03-13 17:08:45 -04:00
Sorin Ionescu
11d5792243 Fix path-related typesets
* Do allow duplicate entries in MAILPATH.
* Tie INFOPATH to infopath.
2012-03-13 01:06:10 -04:00
Sorin Ionescu
98e63641a9 Do not override parent process paths, close #26 2012-03-13 01:06:04 -04:00
Sorin Ionescu
80bbc8171f Merge branch 'master' of https://github.com/sorin-ionescu/oh-my-zsh 2012-03-13 00:38:55 -04:00
Sorin Ionescu
158990e5cf Remove unnecessary self-insert override, close #20
@sunaku experimented and found that highlights are removed on
space bar and printable character key presses making the removed
code unnecessary.

See https://github.com/zsh-users/zsh-history-substring-search/issues/8
for more information.
2012-03-13 00:32:19 -04:00
Sorin Ionescu
01d9ec13d8 Fix prompt call, close #22 2012-03-12 19:56:03 -04:00
Sorin Ionescu
fd669f22a4 Fix open on Linux, close #24 2012-03-12 19:49:46 -04:00
Sorin Ionescu
02e39eaf4f Merge pull request #21 from gwjo/fix-nicoulaj-precmd
Fix nicoulaj precmd
2012-03-11 16:59:40 -07:00
gwjo
53b389f786 Fix name of precmd hook
The prompt function expects all them hooks to use the following
naming convention:

  prompt_<theme>_<hook>

This enables it to remove any added theme specific hooks when the
prompt is changed.
2012-03-11 19:21:53 -04:00
Sorin Ionescu
1515ff4b25 Check for availability of SSH agent 2012-03-08 21:57:00 -05:00
Sorin Ionescu
e250df829e Fix SSH agent identities check, close #19 2012-03-08 21:55:38 -05:00
Sorin Ionescu
02435bec3c Fix a typo in SSH agent plugin comments 2012-03-08 21:54:38 -05:00