mirror of https://gitlab.com/ceda_ei/wish
Update plugins to new config file syntax.
parent
c56f54304b
commit
34657cecdc
|
@ -1,8 +1,8 @@
|
||||||
# Battery
|
# Battery
|
||||||
|
|
||||||
+ Plugin Name: `battery`
|
+ Plugin Name: `battery`
|
||||||
+ Config Variables
|
+ Config keys
|
||||||
+ `WISH_BATTERY_ID`: ID of Battery to check. Default: `BAT0`
|
+ `id`: ID of Battery to check. Default: `BAT0`
|
||||||
+ `WISH_BATTERY_CHARGING`: Symbol while the battery is charging. Default: ϟ
|
+ `charging`: Symbol while the battery is charging. Default: ϟ
|
||||||
+ `WISH_BATTERY_DISCHARGING`: Symbol while the battery is discharging. Default: ⏚
|
+ `discharging`: Symbol while the battery is discharging. Default: ⏚
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Background Jobs
|
# Background Jobs
|
||||||
|
|
||||||
+ Plugin Name: `bg_jobs`
|
+ Plugin Name: `bg_jobs`
|
||||||
+ Config Variables
|
+ Config keys
|
||||||
+ `WISH_BG_JOBS_SUFFIX`: Suffix to add to number of background jobs. Default: &
|
+ `WISH_BG_JOBS_SUFFIX`: Suffix to add to number of background jobs. Default: &
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Custom Text
|
# Custom Text
|
||||||
|
|
||||||
+ Plugin Name: `custom_text`
|
+ Plugin Name: `custom_text`
|
||||||
+ Config Variables
|
+ Config keys
|
||||||
+ `WISH_CUSTOM_TEXT`: Custom Text to display.
|
+ `WISH_CUSTOM_TEXT`: Custom Text to display.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Date
|
# Date
|
||||||
|
|
||||||
+ Plugin Name: `date`
|
+ Plugin Name: `date`
|
||||||
+ Config Variables
|
+ Config keys
|
||||||
+ `WISH_DATE_FORMAT`: set the date format. Refer to `FORMAT` section of `man date` for more details. Default: `%F %T`.
|
+ `format`: set the date format. Refer to `FORMAT` section of `man date` for more details. Default: `%F %T`.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Exit Code
|
# Exit Code
|
||||||
|
|
||||||
+ Plugin Name: `exit_code`
|
+ Plugin Name: `exit_code`
|
||||||
+ Config Variables
|
+ Config keys
|
||||||
+ None
|
+ None
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Exit Code Smiley
|
# Exit Code Smiley
|
||||||
|
|
||||||
+ Plugin Name: `exit_code_smiley`
|
+ Plugin Name: `exit_code_smiley`
|
||||||
+ Config Variables
|
+ Config keys
|
||||||
+ `WISH_EXIT_CODE_SMILEY_PASS`: Text to show when the last command ran successfully. Default: `:)`
|
+ `WISH_EXIT_CODE_SMILEY_PASS`: Text to show when the last command ran successfully. Default: `:)`
|
||||||
+ `WISH_EXIT_CODE_SMILEY_FAIL`: Text to show when the last command failed. Default: `:(`
|
+ `WISH_EXIT_CODE_SMILEY_FAIL`: Text to show when the last command failed. Default: `:(`
|
||||||
+ `WISH_EXIT_CODE_SMILEY_HIDE_ON_PASS`: Whether to hide the output if command executes successfully. Default: 0
|
+ `WISH_EXIT_CODE_SMILEY_HIDE_ON_PASS`: Whether to hide the output if command executes successfully. Default: 0
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Hostname
|
# Hostname
|
||||||
|
|
||||||
+ Plugin Name: `hostname`
|
+ Plugin Name: `hostname`
|
||||||
+ Config Variables
|
+ Config keys
|
||||||
+ None
|
+ None
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Newline
|
# Newline
|
||||||
|
|
||||||
+ Plugin Name: `newline`
|
+ Plugin Name: `newline`
|
||||||
+ Config Variables
|
+ Config keys
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Path
|
# Path
|
||||||
|
|
||||||
+ Plugin Name: `path`
|
+ Plugin Name: `path`
|
||||||
+ Config Variables
|
+ Config keys
|
||||||
+ `WISH_PATH_NO_WRITE_SUFFIX`: Suffix if the current path is not writeable. Default: ``
|
+ `no_write_suffix`: Suffix if the current path is not writeable. Default: ``
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Python Virtualenv
|
# Python Virtualenv
|
||||||
|
|
||||||
+ Plugin Name: `python_venv`
|
+ Plugin Name: `python_venv`
|
||||||
+ Config Variables
|
+ Config keys
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Space
|
# Space
|
||||||
|
|
||||||
+ Plugin Name: `space`
|
+ Plugin Name: `space`
|
||||||
+ Config Variables
|
+ Config keys
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Tmux Detached Sessions
|
# Tmux Detached Sessions
|
||||||
|
|
||||||
+ Plugin Name: `tmux`
|
+ Plugin Name: `tmux`
|
||||||
+ Config Variables
|
+ Config keys
|
||||||
+ `WISH_TMUX_SUFFIX`: suffix to add after number of detached sessions. Default: `d`
|
+ `suffix`: suffix to add after number of detached sessions. Default: `d`
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
# Username
|
# Username
|
||||||
|
|
||||||
+ Plugin Name: `username`
|
+ Plugin Name: `username`
|
||||||
+ Config Variables
|
+ Config keys
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Version Control System (Git)
|
# Version Control System (Git)
|
||||||
|
|
||||||
+ Plugin Name: `vcs`
|
+ Plugin Name: `vcs`
|
||||||
+ Config Variables
|
+ Config keys
|
||||||
+ `WISH_VCS_GIT_SYMBOL`: Symbol to indicate that the current directory is a git repo. Default:
|
+ `git_symbol`: Symbol to indicate that the current directory is a git repo. Default:
|
||||||
+ `WISH_VCS_DEFAULT`: Symbol to display when the current directory is not a git repo. Default: $
|
+ `default`: Symbol to display when the current directory is not a git repo. Default: $
|
||||||
+ `WISH_VCS_GIT_UNTRACKED_SYMBOL`: Symbol to show if the current git repo has untracked files. Default: ●
|
+ `git_untracked_symbol`: Symbol to show if the current git repo has untracked files. Default: ●
|
||||||
|
|
Loading…
Reference in New Issue