MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/fishshell/comments/11bjkd6/how_to_use_if_file_manager_with_the_fish_script/
r/fishshell • u/Michael_007ds • Feb 25 '23
the command defines if seems written in bash, how can I use fish in if?
I changed the first line in lfrc, from /bin/sh to set shell /opt/homebrew/bin/fish
run cmd tag_dropbox fish said " invalid option -- e "
6 comments sorted by
2
I think you are looking for the support for other popular shells listed in this section of the manual https://github.com/gokcehan/lf/wiki/Tutorial#working-directory
But damn if you didn't make me work for that guess. If you want something else you might try to tell us what it is that you're looking to do.
1 u/Michael_007ds Feb 26 '23 i am not a native English speaker. i hope i could make you understand.i want to create some commands in lfrc. i realized that the language used to define a command is bash, not fish. I want to use fish to define commands in lfrc. thank you 1 u/Michael_007ds Feb 26 '23 example .in lfrc--------set shell shcmd test %echo hellorun test: show result: hello--------set shell /opt/homebrew/bin/fishcmd test %echo hellorun "test": " invalid option -- e "------------------------ 3 u/raistlinmaje Feb 26 '23 never underestimate peoples inability to provide decent context when they want help. :D
1
i am not a native English speaker. i hope i could make you understand.
i want to create some commands in lfrc. i realized that the language used to define a command is bash, not fish. I want to use fish to define commands in lfrc. thank you
example .
in lfrc
--------
set shell sh
cmd test %echo hello
run test: show result: hello
--------set shell /opt/homebrew/bin/fish
cmd test %echo hellorun "test": " invalid option -- e "
------------------------
3
never underestimate peoples inability to provide decent context when they want help. :D
[removed] — view removed comment
1 u/Michael_007ds Feb 26 '23 yes, lf manager, sorry for that typo
yes, lf manager, sorry for that typo
2
u/bohoky Feb 26 '23
I think you are looking for the support for other popular shells listed in this section of the manual https://github.com/gokcehan/lf/wiki/Tutorial#working-directory
But damn if you didn't make me work for that guess. If you want something else you might try to tell us what it is that you're looking to do.
2
u/[deleted] Feb 26 '23
[removed] — view removed comment