Skip to content

Can't run normal bash functions inside clifm. #279

Answered by leo-arch
LinArcX asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@leo-arch
Comment options

Answer selected by LinArcX
@LinArcX
Comment options

@LinArcX
Comment options

@leo-arch
Comment options

@leo-arch
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants