diff options
| author | Historia <gravel.justness270@slmail.me> | 2024-07-01 16:06:29 -0400 |
|---|---|---|
| committer | Historia <gravel.justness270@slmail.me> | 2024-07-01 16:06:29 -0400 |
| commit | 5e38df0b6c310515d6293f62072e2d424b6d7fd9 (patch) | |
| tree | 8d702ff63379cb4be5021f162fe93c57d83a8bb0 | |
| parent | 4e066856ca4d83d0c67dff50278a33b528a4285b (diff) | |
| download | denote-fzf-lua-5e38df0b6c310515d6293f62072e2d424b6d7fd9.tar.gz | |
Fixed issue with multi-word titles when dependencies aren't installed
| -rwxr-xr-x | lua/denote-fzf-lua/scripts/fallback_search_files.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/denote-fzf-lua/scripts/fallback_search_files.sh b/lua/denote-fzf-lua/scripts/fallback_search_files.sh index 0c07d87..9a8d0d5 100755 --- a/lua/denote-fzf-lua/scripts/fallback_search_files.sh +++ b/lua/denote-fzf-lua/scripts/fallback_search_files.sh @@ -1,7 +1,7 @@ #!/usr/bin/sh find $1 |\ -sed -E "/^(.*\/)?([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]T[0-9][0-9][0-9][0-9][0-9][0-9])(==[^=_\.\-]+)?(--[^_\.\-]+)?(__[^\.]+)?(\.[a-z0-9]+)$/!d" |\ -sed -E "s/^(.*\/)?([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]T[0-9][0-9][0-9][0-9][0-9][0-9])(==([^=_\.\-]+))?(--([^_\.\-]+))?(__([^\.]+))?(\.[a-z0-9]+)$/\1,\2,\4,\6,\8,\9/" |\ +sed -E "/^(.*\/)?([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]T[0-9][0-9][0-9][0-9][0-9][0-9])(==[^_\.\-]+)?(--[^_\.]+)?(__[^\.]+)?(\.[a-z0-9]+)$/!d" |\ +sed -E "s/^(.*\/)?([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]T[0-9][0-9][0-9][0-9][0-9][0-9])(==([^_\.\-]+))?(--([^_\.]+))?(__([^\.]+))?(\.[a-z0-9]+)$/\1,\2,\4,\6,\8,\9/" |\ tr '\=\-_' ' ' |\ sed -E 's/([0-9][0-9][0-9][0-9])([0-9][0-9])([0-9][0-9])T([0-9][0-9])([0-9][0-9])([0-9][0-9])/\1-\2-\3,\4:\5:\6/' |\ sed 's/,,/,.,/g' |\ |
