diff options
| author | Mica White <botahamec@outlook.com> | 2026-09-14 23:53:11 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-09-14 23:53:11 -0400 |
| commit | a248cc5aa23bbb4e6aa00cb3e5904142234512ff (patch) | |
| tree | a096895b9a2cd75136cd9c23529a815a8bea6bcd /.config/fish/functions/_fzf_extract_var_info.fish | |
| parent | 9b3ac1442aabcacbf8323badb0126f0a03790b9f (diff) | |
Cleanup
Diffstat (limited to '.config/fish/functions/_fzf_extract_var_info.fish')
| -rw-r--r-- | .config/fish/functions/_fzf_extract_var_info.fish | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/.config/fish/functions/_fzf_extract_var_info.fish b/.config/fish/functions/_fzf_extract_var_info.fish deleted file mode 100644 index dd4e952..0000000 --- a/.config/fish/functions/_fzf_extract_var_info.fish +++ /dev/null @@ -1,15 +0,0 @@ -# helper function for _fzf_search_variables -function _fzf_extract_var_info --argument-names variable_name set_show_output --description "Extract and reformat lines pertaining to \$variable_name from \$set_show_output." - # Extract only the lines about the variable, all of which begin with either - # $variable_name: ...or... $variable_name[ - string match --regex "^\\\$$variable_name(?::|\[).*" <$set_show_output | - - # Strip the variable name prefix, including ": " for scope info lines - string replace --regex "^\\\$$variable_name(?:: )?" '' | - - # Distill the lines of values, replacing... - # [1]: |value| - # ...with... - # [1] value - string replace --regex ": \|(.*)\|" ' $1' -end |
