-
Notifications
You must be signed in to change notification settings - Fork 4
Installing Plugins
Mark Polyakov edited this page Oct 20, 2017
·
2 revisions
Each Anypaste plugin is just a single executable file (except for the built-in ones, which are special). Basic installation procedure:
- Create
~/.anypaste-plugins
if it doesn't exist:mkdir -p ~/.anypaste-plugins
- Download the plugin executable to
~/.anypaste-plugins
:curl -o ~/.anypaste-plugins/example example.com/whatever
- Set executable permissions on the plugin executable:
chmod +x ~/.anypaste-plugins/example
- Add the plugin executable's name to your
ap_plugins
array in your config file:vim ~/.config/anypaste.conf
. As a rule of thumb, you'll probably want to add new plugins to the top.
You don't need to put your plugins in the ~/.anypaste-plugins
folder. They can be anywhere! However, if they're not in your $PATH
, you'll need to put the full path to them in your ap_plugins
array instead of just the file name.