Commit Graph

16 Commits

Author SHA1 Message Date
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
Moritz Sauter
826165e36d feat: Add option to put the cursor at end of line 2022-04-29 17:02:31 +02:00
Ofir Gal
aad7964778 Added options 2022-02-06 19:35:48 +02:00
kassadin
6ad924a5ad fix prompt
1. Completion lost prompt
2. Original input is lost when canceling
2021-09-10 16:19:36 +08: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
wzy
da045d7f07 Fix #5 again 2021-08-05 23:15:12 +08:00
wzy
676e108c84 Fix #5 2021-08-05 11:34:57 +08:00
wzy
13dda2c877 Fix #3 2021-08-03 23:21:05 +08: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
Josh Skidmore
8378fcf053 use %Y-%m-%d %I:%M:%S' format 2020-08-19 06:57:16 -04:00
Josh Skidmore
0564606b88 rework exist if there is no history 2020-08-19 06:48:11 -04:00
Josh Skidmore
1eb912521a exit if there is no history 2020-08-19 06:39:46 -04:00
Josh Skidmore
76c63d36cc initial commit 2020-08-19 06:08:56 -04:00