-
Notifications
You must be signed in to change notification settings - Fork 4
Plugins
Plugins are the opposite of templates - they provide rich functionality by allowing the extension of psh. They enable the possibility to built complex logic (or even call external scripts like a python helper script) to generate something that is system specific (like find something and put the path of it into the .zshrc
).
For example, plugins are used by psh to apply all the antigen plugins. Also as powerline-fonts is not usable on the Windows Subsystem for Linux without installing it manually, they are used to determine if the fallback theme should be used to bypass that problem.
psh comes with some API methods to simplify the creation of plugins. All custom functions/commands can be found in the below table.
Command | Function |
---|---|
apply_antigen_bundle | Add an antigen bundle to load to the .zshrc
|
apply_antigen_theme | Add a theme loaded by antigen to the .zshrc
|
psh - a .zshrc
generation tool that can be customized to fit your needs. Created with ❤️ by its contributors.