-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: customize which shell is used to execute aliases #163
Comments
I guess I could add a config option like I did for |
That would be perfect.
To elaborate: fish does not support Personally, I don't really like this about fish, but then again, I don't use it for scripting. I'd like to stick to POSIX shell syntax for zk aliases while still using fish as my interactive shell. sxhkd has also encountered this issue, which it worked around using the |
I added |
Awesome, thanks! |
Hi, |
I think you need the
|
Since I'm setting the env variable outside a function, it really doesn't matter ( |
What do you see if you run ZK_SHELL=echo zk ls |
Ok, so apparently I had an older version when I installed |
Hmm yes, it looks like the Homebrew version was not updated automatically with the release, I need to take a look into that. Thanks for spotting this. |
Looks like someone already created it, so it should be available now: Homebrew/homebrew-core#100286 |
Yes, I uninstalled and reinstalled with just |
I usually use Fish as my interactive shell, but the example aliases given use Bash syntax. For example:
While I could change this to
zk list $argv
, I would instead like to specify which shell to use (instead of having it be determined bySHELL
). This way, the same aliases will work whether I'm using Bash or Fish or any other shell.The text was updated successfully, but these errors were encountered: