-
OS: VoidLinux I have a lot of functions inside my Here is one of them:
The point is that those functions populate a list of items and show them in fzf. maybe because they try to show fzf inside clifm this problem happens? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
I tried to make things simpler. so look at this sample commands:
There are two weird things happening:
Probably you're processing the user input each time and maybe it conflict with bash command processing? |
Beta Was this translation helpful? Give feedback.
Clifm knows nothing about functions. To make it understand even a simple function means to make it understand a scripting language (POSIX sh at the very least). But no, clifm is not a shell (and will never be it), but a file manager.
However, as you know, everything's possible. I'm pretty sure your shell functions can be easily transformed into a proper shell script, which, located somewhere in your PATH, can be called/executed from within clifm as every other command. You can even create an alias for it, or make it into a plugin.