Skip to content
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

Fish shell problem #72

Closed
DonPavlov opened this issue Jan 10, 2017 · 2 comments
Closed

Fish shell problem #72

DonPavlov opened this issue Jan 10, 2017 · 2 comments

Comments

@DonPavlov
Copy link

When i try to use the fish shell, i enter the needed snippet in my fish config, but i get these errors:
`Unsupported use of '='. In fish, please use 'set SSH_AUTH_SOCK /tmp/ssh-xnA5AcVFHhKY/agent.1204'.

  • (line 1): SSH_AUTH_SOCK=/tmp/ssh-xnA5AcVFHhKY/agent.1204; export SSH_AUTH_SOCK;
    ^
    from sourcing file -
    called on line 67 of file ~/.config/fish/config.fish

from sourcing file ~/.config/fish/config.fish
called during startup

Unsupported use of '='. In fish, please use 'set SSH_AGENT_PID 1206'.

  • (line 2): SSH_AGENT_PID=1206; export SSH_AGENT_PID;
    ^
    from sourcing file -
    called on line 67 of file ~/.config/fish/config.fish

from sourcing file ~/.config/fish/config.fish
called during startup

`

And even if i just use this command, instead of the recommended
# keychain alternative ?? if status --is-interactive; keychain ~/.ssh/id_rsa end

i get the problem, that i can't really can't use my ssh keys.

@danielrobbins
Copy link
Member

This issue has been imported into the Funtoo Linux bug tracker. This helps us to ensure that your bug is prioritized and gets the attention it deserves. You are welcome to create a Funtoo account and participate in the Funtoo Linux workflow or follow-up in the GitHub issue (comments are not currently synchronized.) Follow the action here: https://bugs.funtoo.org/browse/FL-3495

@ghost
Copy link

ghost commented Dec 7, 2017

I tested keychain with fish shell and in my opinion, this is a problem for the fish shell developers and not an issue with keychain. Not sure why 'sourcing' was ever recommended as it obviously fails since fish shell is not POSIX compliant. Perhaps in the past it worked but no longer does. Also, just executing keychain in the start up config in a fish shell also fails even if /bin/sh is pointing to a valid POSIX compatible shell

@ghost ghost closed this as completed Dec 7, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants