-
Notifications
You must be signed in to change notification settings - Fork 103
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
kubie does not seem to be reading xonshrc #243
Comments
The below script that
If I source my ~/.xonshrc as the very first step after When I reported the issue, it was just an observation that xontribs were missing. But now, given that it doesn't source the ~/.xonshrc as well, it hinders in my exceptional config. |
This is the current workaround.
|
Because the assumption that those hard-coded paths are the only paths a user may have feels wrong. Also, Because pathlib.Path wasn't resolving ~ to a proper absolute path. ``` ♄ 19:46:51 rrs@priyasi ~ [1] ☸ cs00114-we-01-aks @ from pathlib import Path ♒︎ 19:46:56 rrs@priyasi ~ ☸ cs00114-we-01-ak s @ Path("~/.xonshrc") PosixPath('~/.xonshrc') ⛢ 19:47:16 rrs@priyasi ~ ☸ cs00114-we-01-aks @ Path("~/.xonshrc").is_file() False ♅ 19:47:22 rrs@priyasi ~ ☸ cs00114-we-01-aks @ Path("/home/rrs/.xonshrc").is_file() True ॐ 19:47:30 rrs@priyasi ~ ☸ cs00114-we-01-aks @ $XONSHRC ('/etc/xonsh/xonshrc', '/home/rrs/.config/xonsh/rc.xsh', '/home/rrs/.xonshrc') ⛢ 19:48:21 rrs@priyasi ~ ☸ cs00114-we-01-aks @ for file in $XONSHRC: . print(file) . /etc/xonsh/xonshrc /home/rrs/.config/xonsh/rc.xsh /home/rrs/.xonshrc ```` Closes: sbstp#243
I have xonsh installed and configured as my user shell, in just my terminal config (kitty).
I also have
xonsh
specified in mykubie
config like:On my standard shell prompt, I have:
while inside
kubie ctx
, I have:I guess this is because
kubie
didn't initialize~/.xonshrc
. It would also imply that no history is saved to the xonsh history backend.I have:
And:
The text was updated successfully, but these errors were encountered: