[BUG] Terminal support doesn't work
simonbcn opened this issue · comments
Configuration
- Keka version: 1.3.6 (installed from App Store)
- macOS version: 14.2.1
- Fish shell 3.6.4
Describe the bug
$ echo $PATH
/opt/local/bin/ /usr/local/bin /Users/juan/.local/bin /opt/homebrew/bin /opt/homebrew/sbin /usr/local/bin /usr/bin /bin /usr/sbin /sbin
$ Keka
fish: Unknown command: Keka
Keka
command is not found. Where is it installed?
https://github.com/aonez/Keka/wiki/Terminal-support
Normally this will be:
/Applications/Keka.app/Contents/MacOS/Keka --cli
Ok, that does work but that is not what it says in the wiki and I find it inconvenient. Wouldn't it be better to install a script or similar that allows you to run it in the terminal simply using Keka
?
Fair enough, I’ll update the wiki shortly.
Could you do alias keka="/Applications/Keka.app/Contents/MacOS/Keka --cli"
But IMHO the expectation would be for keka on cli to act like a cli program, so running with no further arguments would produce help text. But right now it launches the GUI app.
Thanks @gingerbeardman, the alias is a great option.
But IMHO the expectation would be for keka on cli to act like a cli program, so running with no further arguments would produce help text. But right now it launches the GUI app.
Found no way to detect when it is running solely on the Terminal.
The documentation is updated now 👍🏼