164 Commits
Author SHA1 Message Date
Suraj N. Kurapati ba2e1a76aa extendedglob used in *end() function; closes #6 2011-09-30 17:02:29 -07:00
Suraj N. Kurapati db51e71ec7 Merge branch 'local_options' 2011-09-30 11:18:48 -07:00
Suraj N. Kurapati c5c4ab8eea change options locally and restore them on return 2011-09-22 11:16:34 -07:00
Suraj N. Kurapati 0e58320e78 Merge pull request #5 from sorin-ionescu/issue-2
fix #2: always use up/down-line-or-history
2011-09-17 12:08:19 -07:00
Sorin Ionescu 8870c7e279 fix #2: always use up/down-line-or-history 2011-09-17 14:07:31 -04:00
Sorin IonescuandSuraj N. Kurapati 9d3683b3d3 simplify relative file path calculation using ZSH
https://github.com/robbyrussell/oh-my-zsh/pull/215/files#r104749
2011-08-29 08:11:04 -07:00
Suraj N. Kurapati acd181e11f README: update URLs to new zsh-users organization 2011-08-04 14:20:43 -07:00
Suraj N. Kurapati 1ec51023d7 move project description into README & markdownify 2011-08-04 14:19:56 -07:00
Suraj N. Kurapati 981b787ca0 separate markdown URL list into references section 2011-07-25 13:42:21 -07:00
Colin HebertandSuraj N. Kurapati dfc7ac9d06 add "zsh-" prefix to history-substring-search
@zsh-users/zsh-syntax-highlighting and
@zsh-users/zsh-history-substring-search don't follow the same naming
convention.

This commit just rename history-substring-search.zsh and
history-substring-search.plugin.zsh to zsh-history-substring-search.zsh
and zsh-history-substring-search.plugin.zsh respectively.
2011-07-25 13:39:39 -07:00
Guido van SteenandSuraj N. Kurapati 15f63dea7f make down-search() and up-search() logic symmetric 2011-06-29 06:11:11 -07:00
Suraj N. Kurapati 810095f097 follow the oh-my-zsh coding style guidelines
https://github.com/robbyrussell/oh-my-zsh/wiki/Coding-style-guide
2011-06-28 14:27:10 -07:00
Suraj N. Kurapati 02a1971540 begin writing usage & configuration documentation 2011-06-28 12:46:19 -07:00
Suraj N. Kurapati 89eec57d06 clean up shell programming style to fit ZSH 2011-06-27 19:04:53 -07:00
Suraj N. Kurapati 59e6bfbdfd merge search-highlight func into search-end func 2011-06-26 11:30:46 -07:00
Guido van SteenandSuraj N. Kurapati ca086b8999 fix down-history after reaching the top of history 2011-06-25 20:58:31 -07:00
Suraj N. Kurapati 86bbedb993 rename number to index; use locals and (( math )) 2011-06-25 20:58:31 -07:00
Suraj N. Kurapati f1ab1a7601 reorganize configuration, functions, and details 2011-06-25 20:58:31 -07:00
Suraj N. Kurapati ffaecb6efc remove useless last_entry_in_history variable 2011-06-25 20:58:31 -07:00
Suraj N. Kurapati 89513675c3 shorten names of number_of_matches variables 2011-06-25 20:58:31 -07:00
Suraj N. Kurapati 7f24864a0e refactor assignment of move_cursor_eol variable 2011-06-25 20:58:31 -07:00
Suraj N. Kurapati 2685846742 rename backward/forward to up/down respectively 2011-06-25 20:58:31 -07:00
Suraj N. Kurapati cf35f06261 rename up/down-highlight() functions to *-search() 2011-06-25 20:58:31 -07:00
Suraj N. Kurapati bb9f93c0f6 rename functions; use return values vs. globals 2011-06-25 20:58:31 -07:00
Suraj N. Kurapati 42ac9185c9 format comments to fit screen and be readable 2011-06-25 20:58:31 -07:00
Guido van SteenandSuraj N. Kurapati d48f41659e refactor script logic and improve documentation 2011-06-25 20:58:27 -07:00
Guido van SteenandSuraj N. Kurapati 9dffcab6f6 escape | in search query before scanning history
https://github.com/robbyrussell/oh-my-zsh/pull/215#issuecomment-1422348
2011-06-23 09:34:23 -07:00
Guido van SteenandSuraj N. Kurapati 654b080cd6 do not wrap $HISTORY upon UP/DOWN without query 2011-06-20 12:06:12 -07:00
Suraj N. Kurapati eb2d958b15 prefix internal variables and functions with '_'
https://github.com/robbyrussell/oh-my-zsh/pull/215#r45547
2011-06-15 15:48:32 -07:00
Suraj N. Kurapati 79f7f9ba46 remove intermediate variable; was used immediately 2011-06-15 15:40:32 -07:00
Guido van SteenandSuraj N. Kurapati 1022df5a5a fix highlighting of query in matching commands
Without this commit, searching for "rebo" in "reboot" incorrectly causes
"eboo" to be highlighted instead of "rebo".
2011-06-15 15:21:48 -07:00
Guido van SteenandSuraj N. Kurapati 53b70a0b82 keep highlights when moving cursor within $BUFFER 2011-06-15 15:20:44 -07:00
Guido van SteenandSuraj N. Kurapati 2f0b0c6a5d unhighlight on edits if no zsh-syntax-highlighting 2011-06-15 15:20:40 -07:00
Guido van SteenandSuraj N. Kurapati c322b844f1 revise comments; optimize multi-line buffer checks 2011-06-15 15:20:33 -07:00
Suraj N. Kurapati 1d7ea438d3 zsh-syntax-highlighting plugin changed its API
https://github.com/robbyrussell/oh-my-zsh/pull/215#issuecomment-1361889
2011-06-15 15:20:18 -07:00
Suraj N. Kurapati 942a22206b add contributors to license; link to non-OMZ repo 2011-06-15 15:20:18 -07:00
Suraj N. Kurapati 2132c4b4a6 add *.plugin.zsh file to integrate into oh-my-zsh 2011-06-15 15:20:18 -07:00
Suraj N. Kurapati c647fb423c add variable to configure case-sensitivity etc. 2011-06-15 15:20:18 -07:00
Vincent GuerciandSuraj N. Kurapati f9a4c753af prevent beeps when navigating multi-line commands
`man zshzle` at the "zle widget" section:

A non-zero return status causes the shell to beep when the widget exits,
unless the BEEP options was unset or the widget was called via the zle
command. Thus if a user defined widget requires an immediate beep, it
should call the beep widget directly.

https://github.com/robbyrussell/oh-my-zsh/pull/215#issuecomment-1328406
2011-06-15 15:20:18 -07:00
Vincent GuerciandSuraj N. Kurapati d655da70a8 fix command not found: up-line-or-history errors
https://github.com/robbyrussell/oh-my-zsh/pull/215#issuecomment-1328406
2011-06-15 15:20:18 -07:00
Suraj N. Kurapati f53a3405ba namespace, inline, refactor multiline buffer logic 2011-06-15 15:20:17 -07:00
Guido van SteenandSuraj N. Kurapati dafeb77e2a multi-line buffer editing; better than Fish now 2011-06-15 15:20:14 -07:00
Suraj N. Kurapati 14adfd9836 cursor movements should not make $BUFFER new query
Suppose you have just pressed "arrow-up", and you get a single-line in
your terminal. You move your cursor into $BUFFER. After this the edited
$BUFFER becomes the new search string. That breaks the searching model.
2011-06-09 00:16:36 -07:00
Suraj N. Kurapati dd276a80f1 ignore case when searching and highlighting query 2011-06-09 00:16:35 -07:00
Sorin IonescuandSuraj N. Kurapati 0ed2fa04f4 only load zsh/parameter module if not already so 2011-06-09 00:16:35 -07:00
Suraj N. Kurapati e50a664321 add README with instructions on script activation 2011-06-09 00:16:28 -07:00
Sorin IonescuandSuraj N. Kurapati d217eff6a1 set options and load modules only once at loadtime 2011-06-09 00:10:28 -07:00
Sorin IonescuandSuraj N. Kurapati 43ab2cd304 fix typos in comments inherited from fizsh source 2011-06-09 00:10:28 -07:00
Suraj N. Kurapati 7b71437106 highlight query on top of zsh-syntax-highlighting 2011-06-09 00:10:28 -07:00
Suraj N. Kurapati 1e02a2118e rename _search* variables to be self-documenting 2011-06-09 00:10:28 -07:00