-
Notifications
You must be signed in to change notification settings - Fork 159
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
Allow plugins.sh to be stowed or tracked in dotfiles as symlinks #378
Comments
I am also facing the same issue. Please provide a solution. |
This is definitely something we should address. I'm not sure the best solution. Possibly just documentation? This isn't documented very well, but the export OP_PLUGINS_SOURCED="1"
alias gh="op plugin run -- gh" to your own shell config file. This is essentially how the Nix Flake integration works: shell-plugins/nix/shell-plugins.nix Lines 55 to 82 in bd3f3ed
|
That's a decent workaround. Assuming this can be documented? The thing to note is doesn't the command How about adding a note (as comments) in the |
Yeah, the current default flow is that @SimonBarendse maybe we could even explain this in the output of |
Well I don't really remember where I got this, but I used to set |
op CLI version
2.19.0-beta.01
Goal or desired behavior
Currently, the CLI expects
~/.config/op/plugins.sh
to be a file. I would like to keep it in my dotfiles and symlink it to the requisite location.Current behavior
[ERROR] 2023/09/03 01:15:00 Can't continue. We can't safely access "/Users/mrugesh/.config/op/plugins.sh" because it's a symbolic link. Replace the linked file with the original file and try again.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: