-
Notifications
You must be signed in to change notification settings - Fork 332
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
Shell is not set to zsh properly #467
Comments
The only thing I can think of is that lf doesn't use a login/interactive shell for subprocesses. Which config file are you setting the aliases and installing the zsh plugins in? See here. Try running |
Running These are not my aliases. I tried settings shellopts to |
zshrc is only run for interactive shells so you're gonna need I just tried
and it outputted the same aliases I have in zshell. |
Side Note: maybe try to track down where that |
Hey, similar issue here.. I'm using ohmyzsh and my EDITOR is set to 'emacsclient -c'. It all works when I press
Thanks for any hint. |
@chama-chomo Sounds to me like this is a quoting issue. zsh by default doesn't use the same substitution approach as bash. foo="hello world"
$foo in bash a program named You can get the same affect as bash by setting shwordsplit ( |
Thanks for the advice, but nothing changes after applying shwordsplit option. I tried with bash, too, a similar problem reported by lf
|
@chama-chomo Oh, seems like this is an @gokcehan My findings so far:
I'll look more into how |
@mohkale Thanks a lot for helping with the issues. @chama-chomo I think you are setting the option |
Apologies for the late response. Using |
@blakeweissman That output makes it sound more like I don't think this is an lf issue, it's a zsh one. If I change my shell to bash and run lf and repeat the same process.
lf is never suspended. In the past I tried to track down what option was causing this, but no dice on my end. You might have more help reaching out to some active zsh developers/communities (try r/zsh). S.N. I hope you haven't been exiting shells with leftover background jobs 🤣. |
@chama-chomo It's not crazy if it works for you. I think it requires you to configure your @blakeweissman It sounds like you bumbed into #480 which is an open bug that I can't do much at the moment. The original issue reported about aliases not being available should probably be considered by design. We simply wrap the commands within |
Could you try updating to zsh 5.8 and letting me know whether |
@mohkale Again my bad for the late response, life can sometimes get in the way. I'm experiencing the issue on zsh 5.8-1. Also yes, it turns out I've been exiting shells with existing background jobs lol. Using @gokcehan I'll keep an eye out on that issue in case I can find a solution, thanks. |
In my lfrc I set my shell as zsh, however none of my aliases/zsh plugins seem to work. Is there anything I'm doing wrong/missing? In my lfrc I put
set shell zsh
.The text was updated successfully, but these errors were encountered: