-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
By not loading the config until the end of the file, the LP_ENABLE_TIME check was always failing and therefore would never show time, ignoring the config options. But this fixes another issue as well. Now that everything is in a function, a user can change their config file and run lp_activate() and no time, digital time, or analog time will all work correctly. By keeping all options loaded in function memory, a user should never need to re-source Liquidprompt.
- Loading branch information
Showing
1 changed file
with
48 additions
and
45 deletions.
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