Replies: 1 comment 1 reply
-
Dumb question...
--bind "ctrl-r:execute: MY_ARR=($FZF_QUERY) ; echo ${MY_ARR[2]}" where I instead tryed using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm basically trying to make a somewhat of a file explorer based of fzf that with single fzf execution I'll be able to reload fd entry and toggle between files or directories and in different directory entries and in order to do that I'll need some way of declaring variables inside fzf execution (Through the command opts) but I'm struglling with changing/setting a variable to be able to then read off of it and toggle / use it as an entry in the
fd
queryAlso but I't quite related I'm trying to use the fzf Prompt as a variable and query toggler but since my working across a 2D matrix option I need finer read control access to each word(divided by space " ") and access it similar to
${FZF_PROMPT[2]}
to say access the second or third word it the ${FZF_PROMPT} but first you need to declare it into another array like;MY_ARR=($FZF_PROMPT)
which I'm not sure how to do and tryed withexecute()
with no luck.Any idea?
I'm also trying to execute internal function say
myFunc() { echo "Test from the other side successful" }
but not sure how to...
Beta Was this translation helpful? Give feedback.
All reactions