aboutsummaryrefslogtreecommitdiff
path: root/fish/functions/_fzf_extract_var_info.fish
diff options
context:
space:
mode:
authorIndrajith2024-07-03 02:03:35 +0530
committerIndrajith2024-07-03 02:03:35 +0530
commit824022cd1f633c70c4d2782934251616756f4668 (patch)
treea310eb4bf72b26c2d110838b8c487daaa3537bea /fish/functions/_fzf_extract_var_info.fish
parent57eb70137b5bbcdabdc0f02eea5477b3e5f845a1 (diff)
downloaddots-824022cd1f633c70c4d2782934251616756f4668.tar.gz
dots-824022cd1f633c70c4d2782934251616756f4668.tar.bz2
dots-824022cd1f633c70c4d2782934251616756f4668.zip
Dots Updated
* Adds GTK Themes * Adds wlogout * Adds tmux config * Adds Pywal-16-colors * Removed unwanted gtk folders * Config Updates * Fish * Hyprland * Hyprlock * Hyprpaper * waybar
Diffstat (limited to 'fish/functions/_fzf_extract_var_info.fish')
-rw-r--r--fish/functions/_fzf_extract_var_info.fish15
1 files changed, 0 insertions, 15 deletions
diff --git a/fish/functions/_fzf_extract_var_info.fish b/fish/functions/_fzf_extract_var_info.fish
deleted file mode 100644
index dd4e9523a..000000000
--- a/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