leo-arch / clifm

The shell-like, command line terminal file manager: simple, fast, extensible, and lightweight as hell.
https://github.com/leo-arch/clifm/wiki
GNU General Public License v2.0
1.33k stars 40 forks source link

Config option to run shell in interactive mode #232

Closed dluciv closed 1 year ago

dluciv commented 1 year ago

Is your feature request related to a problem? Please describe.

My shell has lots of aliases defined (to make clear, I use Zsh with OMZ), and none of them are available via CliFM command line.

Describe the solution you'd like

I guess having config option to run shell commands in interactive mode will be nice. False by default, because interactive shells are much heavier.

Describe alternatives you've considered

Sure. $ omz version fails, but zsh -ic 'omz version' works great. But not sexy at all.

Additional context

Nope.

leo-arch commented 1 year ago

Hi @dluciv. As to aliases, see the aliases section.

Regarding interactive shells, you can always launch them from the command line (as usual, typing the corresponding command name), or entering : to launch the default shell (as defined by the SHELL environment variable). Exit the shell and you'll be back in clifm.

dluciv commented 1 year ago

Thank you!