Commit Graph

25 Commits

Author SHA1 Message Date
Ceda EI 61ade4610c Use parent directory name if the pwd is .venv 2021-02-14 16:31:18 +05:30
Ceda EI e05f37b5b9 Merge branch 'config-file' of ceda/Wish into master
Wish is now configured by a config file (although WISH_PLUGINS and
WISH_RIGHT_PLUGINS are still used as a fallback if no config file is
found. This way old setups won't break). Config file allows for higher
customization and re-use of plugins and is easier to maintain for
users. Add gINIe parser to Wish. Parse a gINIe config file for wish
config. Wrappers around plugins are created to allow re-use with
multiple configs and themes.
2019-12-31 13:41:47 +05:30
Ceda EI 9e55279faf [Fix] Change wrong variable name in custom_text plugin 2019-12-31 13:34:23 +05:30
Ceda EI c53939cdfe Subtract length of powerline symbols from prompt length max length. 2019-12-31 11:25:55 +05:30
Ceda EI 9a2d831432 [Breaking] Update custom_text to better variable namespacing. 2019-12-31 11:23:19 +05:30
Ceda EI 48ff98764d [Feature] Allow WISH_VCS_DEFAULT to be empty 2019-12-29 22:26:08 +05:30
Ceda EI fe18fd52db Add WISH_PATH_POWERLINE_MAX_PERC to limit path length.
WISH_PATH_POWERLINE_MAX_PERC tries to ensure that the path stays below
the specified percentage of the remaining characters. The path is
shortened by replacing each dir with its initial until it becomes short
enough. The last part is never shortened.
2019-12-29 20:26:47 +05:30
Ceda EI 30ebb302b8 Revert "Update plugins to new specification for wish_append"
This reverts commit b389774a50.
Since PS1 escape codes are allowed once more, this commit is no longer
needed.
2019-12-25 20:25:20 +05:30
Ceda EI b389774a50 Update plugins to new specification for wish_append 2019-12-15 22:01:29 +05:30
Ceda EI 079533b686 Add path_powerline 2019-10-12 22:36:47 +05:30
Ceda EI ffe7975dfa Add error handling to battery. 2019-09-06 19:39:45 +05:30
Ceda EI 31ec315ffd Use git if it exists in install script 2019-05-15 13:25:33 +05:30
Ceda EI f1b966c5e0 Add EXIT_CODE_SMILEY_HIDE_ON_PASS 2019-03-29 02:26:12 +05:30
Ceda EI 425ddc114e Re-order items in vcs 2019-02-19 00:05:40 +05:30
Ceda EI 66f31d957b Add python_venv plugin. Update path plugin.
Add icon for non-writable directories.
2019-02-17 16:41:02 +05:30
Ceda EI 713da785c4 Add custom_text, exit_code_smiley plugins 2019-02-17 13:00:52 +05:30
Ceda EI cb119e2437 Minor fix to vcs.sh 2019-02-17 10:36:45 +05:30
Ceda EI f1646abba6 Add exit_code, bg_jobs plugins.
Minor fix to vcs.sh
2019-02-16 23:01:30 +05:30
Ceda EI 2ffe6cfd47 Add vcs plugin for git. Change charging icon 2019-02-16 22:27:29 +05:30
Ceda EI 4df41a68db Add tmux detached plugin 2019-02-16 17:16:20 +05:30
Ceda EI 749b2d8359 Add battery plugin 2019-02-16 16:40:22 +05:30
Ceda EI 7b7e165700 Add date, hostname, space, username plugins 2019-02-16 14:48:57 +05:30
Ceda EI 0a6695dbce Add wish_append. Change plugins to use it 2019-02-16 13:30:42 +05:30
Ceda EI 50070fe6c7 Add path, newline plugins 2019-02-16 12:34:35 +05:30
Ceda EI 313430a48e Add dummy plugin, plain theme, allow plugins to override themes 2019-02-16 12:29:33 +05:30