- If you want to reset a shell plugin configuration, you can clear your default credentials.
- If you want to temporarily stop using a shell plugin, you can run
unalias <plugin-executable>or remove the alias for its executable from yourplugins.shfile. - If you want to temporarily stop using all shell plugins, you can remove the command to source the
plugins.shfile from your shell profile. - And if you want to completely uninstall shell plugins, you can do that too.
Clear your default credentials for a plugin
If you want to remove your default credentials for a shell plugin:- Terminal session default
- Directory default, from the current directory to
$HOME - Global default
Temporarily stop using a shell plugin
If you want to stop using a shell plugin for the current terminal session, run:plugins.sh file. Then 1Password CLI will no longer handle authentication when you use the third-party CLI.
- Open your
plugins.shfile file. - Remove the alias for the plugin you want to stop using. For example,
alias aws="op plugin run -- aws". - Save the file.
- Open a new terminal window or source your shell profile for the change to go into effect.
Temporarily stop using all shell plugins
If you want to temporarily stop using shell plugins without losing your configurations, you can remove the command to source theplugins.sh file from your shell profile.
- Open your shell profile.
-
Remove the line that looks like this. Your
plugins.shfile path may vary. - Open a new terminal session or source your shell profile for the change to go into effect.
Completely stop using shell plugins
To completely stop using shell plugins and remove all information about your configurations:- Clear the default credentials for each of your plugins.
- Remove the command to source the
plugins.shfile from your shell profile. - Delete the
plugins.shfile and thepluginsfolder within youropdirectory. - If you configured any directory-specific defaults, remove the
.opfolder from those directories.
Get help
If you can’t find your plugins.sh file
The file path for yourplugins.sh file may vary depending on your configuration directory. Common locations include:
~/.op/plugins.sh~/.config/op/plugins.sh~/op/plugins.sh