56 Commits

Author SHA1 Message Date
Josh Skidmore
35df458f7d Merge pull request #44 from justiceenunciate/accommodate-history-line-number-asterisk
Accommodate history line number with asterisk
2025-11-08 21:40:40 -05:00
Emma Bukacek
aa0f197c49 strip asterisk from history line number 2025-11-02 18:15:13 -08:00
Josh Skidmore
63543f8120 Merge pull request #41 from sushichan044/docs/sheldon
docs: add installation guide for sheldon
2025-09-17 13:52:25 -04:00
Josh Skidmore
b5a9da8b8b Merge pull request #39 from haxibami/fix-not-equal-again
fix arithmetic operation again
2025-09-17 13:51:57 -04:00
sushichan044
779d5b8686 docs: add installation guide for sheldon 2025-03-07 14:49:07 +09:00
haxibami
03a0904cd4 fix arithmetic operation again 2024-05-29 12:23:59 +09:00
Josh Skidmore
d5a9730b5b Fixes issues #34 and #35 introduced by PR #27 2024-05-15 17:40:24 -04:00
Josh Skidmore
a2700be96d Merge pull request #32 from zebolino/fzf-query-prefix 2024-05-06 05:13:21 -04:00
Josh Skidmore
7410123888 Merge pull request #28 from haxibami/fix-not-equal
fix arithmetic operation
2023-12-13 19:04:24 -05:00
zebolino
670fa37fcc Ability to define a fzf query prefix which is only used when $BUFFER is not empty. 2023-09-13 00:05:40 +02:00
haxibami
42b10f9421 fix arithmetic operation 2023-03-27 14:28:19 +09:00
Josh Skidmore
d1aae98ccd Merge pull request #27 from MamoruDS/multiline
Fix handling of whitespaces and line breaks
2023-03-08 06:27:40 -05:00
MamoruDS
99211d7e40 Fix multi-line history to correctly handle line breaks 2023-02-11 03:54:33 +09:00
MamoruDS
de4c3c7a8a Fix candidate parsing now preserving original history content
The previous expansion condensed repeated white spaces which caused harm to the original history content.
2023-02-11 03:43:30 +09:00
Josh Skidmore
446da4a412 Merge pull request #20 from Freed-Wu/master
Add '--preview-window=hidden'
2022-11-17 16:59:04 -05:00
Wu Zhenyu
0fa5338375 Add '--preview-window=hidden' 2022-10-12 12:08:54 +08:00
Josh Skidmore
f2432b240c Merge pull request #21 from unixorn/patch-1 2022-10-11 17:41:18 -04:00
Joe Block
eb994f215c Add zgenom install instructions
zgenom is the recommended zsh framework in the [zsh-quickstart-kit](https://github.com/unixorn/zsh-quickstart-kit) and [awesome-zsh-plugins](https://github.com/unixorn/awesome-zsh-plugins) list, so add instructions for it.
2022-10-08 11:15:34 -06:00
Josh Skidmore
ba342699ce Merge pull request #18 from JaviMerino/no_duplicates
Add options to remove dates and duplicates from search
2022-05-16 11:46:57 -04:00
Javi Merino
83666d0722 Add a column to the variable documentation to show defaults. 2022-05-13 07:29:38 +01:00
Javi Merino
44b785e81b Add an option to remove duplicates from search
Some users may prefer to keep duplicates in their zsh history, but
drop them from search.  The awk manual[0] recommends this.

[0] https://www.gnu.org/software/gawk/manual/html_node/History-Sorting.html
2022-05-12 07:42:17 +01:00
Javi Merino
76c6588204 Add an option to remove dates from search
Let the user decide if they want full date timestamps in ISO8601
format in the search.
2022-05-12 07:01:53 +01:00
Josh Skidmore
1c41f581aa Merge pull request #16 from JaviMerino/no_event_number
Don't include event numbers in search
2022-05-10 15:42:38 -04:00
Javi Merino
754d074027 Add an option to remove event numbers from search
Event numbers don't add information to the search: if you knew the
event number you wouldn't be searching for the command.  Add an option
to remove them from the search to declutter it.  Default it to true to
preserve the current behaviour.
2022-05-09 07:21:59 +01:00
Javi Merino
5abc3e2204 Avoid calling echo to expand fzf args
ZSH_FZF_HISTORY_SEARCH_FZF_ARGS and
ZSH_FZF_HISTORY_SEARCH_FZF_EXTRA_ARGS may contain multiple arguments
separated by spaces that need to be expanded to build the command line
for fzf.  This is currently done by calling a subshell and letting
echo handle it.

Unlike other shells, zsh does not do word splitting by default.
According to zshexpn(1) you can perform word splitting using the rules
for SH_WORD_SPLIT by using the ${=spec} construct.  Avoid creating a
subshell and just expand the spaces.
2022-05-09 07:18:44 +01:00
Josh Skidmore
399e96606a Merge pull request #17 from mosauter/master 2022-04-29 17:05:43 -04:00
Moritz Sauter
826165e36d feat: Add option to put the cursor at end of line 2022-04-29 17:02:31 +02:00
Josh Skidmore
05b2681232 Merge pull request #14 from ofirgall/master
Added options
2022-02-22 14:49:01 -05:00
Ofir Gal
aad7964778 Added options 2022-02-06 19:35:48 +02:00
Josh Skidmore
07c075c139 Merge pull request #13 from kassadin/fix-prompt
fix prompt
2021-09-10 06:50:28 -04:00
kassadin
6ad924a5ad fix prompt
1. Completion lost prompt
2. Original input is lost when canceling
2021-09-10 16:19:36 +08:00
Josh Skidmore
8671242ed4 Merge pull request #12 from kassadin/omz
updated README - install with oh-my-zsh
2021-09-03 14:27:33 -04:00
kassadin
a4b66bfc9f updated README - install with oh-my-zsh 2021-09-03 18:30:13 +08:00
Josh Skidmore
7de08eeb04 updated README - screenshot, todos 2021-08-31 12:36:23 -04:00
Josh Skidmore
bb2f37cf5f Merge pull request #9 from hojerst/master
some improvements (speed, plugin.zsh, fallback if fzf is not installed)
2021-08-30 20:16:57 -04:00
Stefan Hojer
6468cddfe5 feat: add *.plugin.zsh (backwards compatible) 2021-08-31 02:09:15 +02:00
Stefan Hojer
0bf9432bda feat: disable plugin if fzf is not installed 2021-08-31 01:51:11 +02:00
Stefan Hojer
daf2367e9d feat: use fc instead of history 2021-08-31 01:29:18 +02:00
Josh Skidmore
54f8015e01 Merge pull request #7 from Freed-Wu/Freed-Wu-patch-1
Fix #5 again
2021-08-05 12:43:22 -04:00
wzy
da045d7f07 Fix #5 again 2021-08-05 23:15:12 +08:00
Josh Skidmore
d11a255d1d Merge pull request #6 from Freed-Wu/Freed-Wu-patch-1-1
Fix #5
2021-08-05 05:56:08 -04:00
wzy
676e108c84 Fix #5 2021-08-05 11:34:57 +08:00
Josh Skidmore
7330d380ae Merge pull request #4 from Freed-Wu/fix-1969
Fix #3
2021-08-04 15:02:08 -04:00
wzy
13dda2c877 Fix #3 2021-08-03 23:21:05 +08:00
Josh Skidmore
4e7d184fdc Merge pull request #2 from yutakatay/patch-1
Fix the plugin manager name
2020-09-18 06:10:11 -04:00
Yuta Katayama
2143791255 Fix the plugin manager name 2020-09-18 17:56:38 +09:00
Josh Skidmore
d9e36fe500 add license 2020-08-21 23:01:21 -04:00
Josh Skidmore
d594846297 initiate fzf search with $BUFFER (if available) 2020-08-19 08:13:18 -04:00
Josh Skidmore
9a15d9792f properly handle zle widget 2020-08-19 07:32:18 -04:00
Josh Skidmore
78dec6460d use %Y-%m-%d %H:%M:%S format (24h) 2020-08-19 07:00:34 -04:00