-
Notifications
You must be signed in to change notification settings - Fork 425
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add __lp_theme_list to list themes loaded in memory
All this does is scan for _lp_<theme>_theme_prompt() functions, and print themes matching that. Also add a --list parameter to lp_theme() that calls this function. Add bash and zsh completion functions as well, since this is the only "public" user function that takes parameters, might as well complete for it. I often found myself pressing TAB often while working on this, so I thought it's probably a good idea.
- Loading branch information
Showing
2 changed files
with
59 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters