mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-22 04:10:07 +00:00
Remove trailing whitespace (#1173)
This commit is contained in:
parent
a5d0525c6a
commit
38a5492b5f
7 changed files with 17 additions and 17 deletions
12
README.md
12
README.md
|
@ -553,7 +553,7 @@ applications on your system. Configure your terminal to use this font:
|
||||||
*Properties → Font* and set *Font* to `MesloLGS NF`.
|
*Properties → Font* and set *Font* to `MesloLGS NF`.
|
||||||
- **Microsoft Terminal** (the new thing): Open *Settings* (`Ctrl+,`), search for `fontFace` and set
|
- **Microsoft Terminal** (the new thing): Open *Settings* (`Ctrl+,`), search for `fontFace` and set
|
||||||
value to `MesloLGS NF` for every profile.
|
value to `MesloLGS NF` for every profile.
|
||||||
- **IntelliJ**: Open *Intellij → Edit → Preferences → Editor → Color Scheme → Console Font*.
|
- **IntelliJ**: Open *Intellij → Edit → Preferences → Editor → Color Scheme → Console Font*.
|
||||||
Select *Use console font instead of the default* and set the font name to `MesloLGS NF`.
|
Select *Use console font instead of the default* and set the font name to `MesloLGS NF`.
|
||||||
- **Termux**: Type `p10k configure` and answer `Yes` when asked whether to install
|
- **Termux**: Type `p10k configure` and answer `Yes` when asked whether to install
|
||||||
*Meslo Nerd Font*.
|
*Meslo Nerd Font*.
|
||||||
|
@ -563,9 +563,9 @@ applications on your system. Configure your terminal to use this font:
|
||||||
- **Terminator**: Open *Preferences* using the context menu. Under *Profiles* select the *General*
|
- **Terminator**: Open *Preferences* using the context menu. Under *Profiles* select the *General*
|
||||||
tab (should be selected already), uncheck *Use the system fixed width font* (if not already)
|
tab (should be selected already), uncheck *Use the system fixed width font* (if not already)
|
||||||
and select `MesloLGS NF Regular`. Exit the Preferences dialog by clicking *Close*.
|
and select `MesloLGS NF Regular`. Exit the Preferences dialog by clicking *Close*.
|
||||||
- **Guake**: Right Click on an open terminal and open *Preferences*. Under *Appearance*
|
- **Guake**: Right Click on an open terminal and open *Preferences*. Under *Appearance*
|
||||||
tab, uncheck *Use the system fixed width font* (if not already) and select `MesloLGS NF Regular`.
|
tab, uncheck *Use the system fixed width font* (if not already) and select `MesloLGS NF Regular`.
|
||||||
Exit the Preferences dialog by clicking *Close*.
|
Exit the Preferences dialog by clicking *Close*.
|
||||||
- **Alacritty**: Create or open `~/.config/alacritty/alacritty.yml` and add the following section
|
- **Alacritty**: Create or open `~/.config/alacritty/alacritty.yml` and add the following section
|
||||||
to it:
|
to it:
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -1441,11 +1441,11 @@ From [Zsh documentation](
|
||||||
http://zsh.sourceforge.net/Doc/Release/Parameters.html#index-ZLE_005fRPROMPT_005fINDENT):
|
http://zsh.sourceforge.net/Doc/Release/Parameters.html#index-ZLE_005fRPROMPT_005fINDENT):
|
||||||
|
|
||||||
> `ZLE_RPROMPT_INDENT <S>`
|
> `ZLE_RPROMPT_INDENT <S>`
|
||||||
>
|
>
|
||||||
> If set, used to give the indentation between the right hand side of the right prompt in the line
|
> If set, used to give the indentation between the right hand side of the right prompt in the line
|
||||||
> editor as given by `RPS1` or `RPROMPT` and the right hand side of the screen. If not set, the
|
> editor as given by `RPS1` or `RPROMPT` and the right hand side of the screen. If not set, the
|
||||||
> value `1` is used.
|
> value `1` is used.
|
||||||
>
|
>
|
||||||
> Typically this will be used to set the value to `0` so that the prompt appears flush with the
|
> Typically this will be used to set the value to `0` so that the prompt appears flush with the
|
||||||
> right hand side of the screen.
|
> right hand side of the screen.
|
||||||
|
|
||||||
|
|
|
@ -828,7 +828,7 @@
|
||||||
##############[ taskwarrior: taskwarrior task count (https://taskwarrior.org/) ]##############
|
##############[ taskwarrior: taskwarrior task count (https://taskwarrior.org/) ]##############
|
||||||
# Taskwarrior color.
|
# Taskwarrior color.
|
||||||
typeset -g POWERLEVEL9K_TASKWARRIOR_FOREGROUND=74
|
typeset -g POWERLEVEL9K_TASKWARRIOR_FOREGROUND=74
|
||||||
|
|
||||||
# Taskwarrior segment format. The following parameters are available within the expansion.
|
# Taskwarrior segment format. The following parameters are available within the expansion.
|
||||||
#
|
#
|
||||||
# - P9K_TASKWARRIOR_PENDING_COUNT The number of pending tasks: `task +PENDING count`.
|
# - P9K_TASKWARRIOR_PENDING_COUNT The number of pending tasks: `task +PENDING count`.
|
||||||
|
|
|
@ -809,7 +809,7 @@
|
||||||
##############[ taskwarrior: taskwarrior task count (https://taskwarrior.org/) ]##############
|
##############[ taskwarrior: taskwarrior task count (https://taskwarrior.org/) ]##############
|
||||||
# Taskwarrior color.
|
# Taskwarrior color.
|
||||||
typeset -g POWERLEVEL9K_TASKWARRIOR_FOREGROUND=6
|
typeset -g POWERLEVEL9K_TASKWARRIOR_FOREGROUND=6
|
||||||
|
|
||||||
# Taskwarrior segment format. The following parameters are available within the expansion.
|
# Taskwarrior segment format. The following parameters are available within the expansion.
|
||||||
#
|
#
|
||||||
# - P9K_TASKWARRIOR_PENDING_COUNT The number of pending tasks: `task +PENDING count`.
|
# - P9K_TASKWARRIOR_PENDING_COUNT The number of pending tasks: `task +PENDING count`.
|
||||||
|
|
|
@ -805,7 +805,7 @@
|
||||||
##############[ taskwarrior: taskwarrior task count (https://taskwarrior.org/) ]##############
|
##############[ taskwarrior: taskwarrior task count (https://taskwarrior.org/) ]##############
|
||||||
# Taskwarrior color.
|
# Taskwarrior color.
|
||||||
typeset -g POWERLEVEL9K_TASKWARRIOR_FOREGROUND=74
|
typeset -g POWERLEVEL9K_TASKWARRIOR_FOREGROUND=74
|
||||||
|
|
||||||
# Taskwarrior segment format. The following parameters are available within the expansion.
|
# Taskwarrior segment format. The following parameters are available within the expansion.
|
||||||
#
|
#
|
||||||
# - P9K_TASKWARRIOR_PENDING_COUNT The number of pending tasks: `task +PENDING count`.
|
# - P9K_TASKWARRIOR_PENDING_COUNT The number of pending tasks: `task +PENDING count`.
|
||||||
|
|
8
font.md
8
font.md
|
@ -51,7 +51,7 @@ applications on your system. Configure your terminal to use this font:
|
||||||
*Properties → Font* and set *Font* to `MesloLGS NF`.
|
*Properties → Font* and set *Font* to `MesloLGS NF`.
|
||||||
- **Microsoft Terminal** (the new thing): Open *Settings* (`Ctrl+,`), search for `fontFace` and set
|
- **Microsoft Terminal** (the new thing): Open *Settings* (`Ctrl+,`), search for `fontFace` and set
|
||||||
value to `MesloLGS NF` for every profile.
|
value to `MesloLGS NF` for every profile.
|
||||||
- **IntelliJ**: Open *Intellij → Edit → Preferences → Editor → Color Scheme → Console Font*.
|
- **IntelliJ**: Open *Intellij → Edit → Preferences → Editor → Color Scheme → Console Font*.
|
||||||
Select *Use console font instead of the default* and set the font name to `MesloLGS NF`.
|
Select *Use console font instead of the default* and set the font name to `MesloLGS NF`.
|
||||||
- **Termux**: Type `p10k configure` and answer `Yes` when asked whether to install
|
- **Termux**: Type `p10k configure` and answer `Yes` when asked whether to install
|
||||||
*Meslo Nerd Font*.
|
*Meslo Nerd Font*.
|
||||||
|
@ -61,9 +61,9 @@ applications on your system. Configure your terminal to use this font:
|
||||||
- **Terminator**: Open *Preferences* using the context menu. Under *Profiles* select the *General*
|
- **Terminator**: Open *Preferences* using the context menu. Under *Profiles* select the *General*
|
||||||
tab (should be selected already), uncheck *Use the system fixed width font* (if not already)
|
tab (should be selected already), uncheck *Use the system fixed width font* (if not already)
|
||||||
and select `MesloLGS NF Regular`. Exit the Preferences dialog by clicking *Close*.
|
and select `MesloLGS NF Regular`. Exit the Preferences dialog by clicking *Close*.
|
||||||
- **Guake**: Right Click on an open terminal and open *Preferences*. Under *Appearance*
|
- **Guake**: Right Click on an open terminal and open *Preferences*. Under *Appearance*
|
||||||
tab, uncheck *Use the system fixed width font* (if not already) and select `MesloLGS NF Regular`.
|
tab, uncheck *Use the system fixed width font* (if not already) and select `MesloLGS NF Regular`.
|
||||||
Exit the Preferences dialog by clicking *Close*.
|
Exit the Preferences dialog by clicking *Close*.
|
||||||
- **Alacritty**: Create or open `~/.config/alacritty/alacritty.yml` and add the following section
|
- **Alacritty**: Create or open `~/.config/alacritty/alacritty.yml` and add the following section
|
||||||
to it:
|
to it:
|
||||||
```yaml
|
```yaml
|
||||||
|
|
|
@ -386,9 +386,9 @@ END
|
||||||
|
|
||||||
local trapped=
|
local trapped=
|
||||||
trap 'trapped=1' $sig
|
trap 'trapped=1' $sig
|
||||||
fetch 1 "$url1" &
|
fetch 1 "$url1" &
|
||||||
local pid1="$!"
|
local pid1="$!"
|
||||||
fetch 2 "$url2" &
|
fetch 2 "$url2" &
|
||||||
local pid2="$!"
|
local pid2="$!"
|
||||||
|
|
||||||
local die="trap - $sig; kill -- $pid1 $pid2 2>/dev/null; wait -- $pid1 $pid2 2>/dev/null; exit 1"
|
local die="trap - $sig; kill -- $pid1 $pid2 2>/dev/null; wait -- $pid1 $pid2 2>/dev/null; exit 1"
|
||||||
|
|
|
@ -239,7 +239,7 @@ function _p9k_init_icons() {
|
||||||
NORDVPN_ICON '\UF023' #
|
NORDVPN_ICON '\UF023' #
|
||||||
EXECUTION_TIME_ICON '\uF253'$s #
|
EXECUTION_TIME_ICON '\uF253'$s #
|
||||||
SSH_ICON 'ssh'
|
SSH_ICON 'ssh'
|
||||||
VPN_ICON '\uF023'
|
VPN_ICON '\uF023'
|
||||||
KUBERNETES_ICON '\U2388' # ⎈
|
KUBERNETES_ICON '\U2388' # ⎈
|
||||||
DROPBOX_ICON '\UF16B'$s #
|
DROPBOX_ICON '\UF16B'$s #
|
||||||
DATE_ICON '\uF073 ' #
|
DATE_ICON '\uF073 ' #
|
||||||
|
@ -680,7 +680,7 @@ function _p9k_init_icons() {
|
||||||
TEST_ICON ''
|
TEST_ICON ''
|
||||||
TODO_ICON '\u2206' # ∆
|
TODO_ICON '\u2206' # ∆
|
||||||
BATTERY_ICON '\U1F50B' # 🔋
|
BATTERY_ICON '\U1F50B' # 🔋
|
||||||
DISK_ICON 'hdd'
|
DISK_ICON 'hdd'
|
||||||
OK_ICON '\u2714' # ✔
|
OK_ICON '\u2714' # ✔
|
||||||
FAIL_ICON '\u2718' # ✘
|
FAIL_ICON '\u2718' # ✘
|
||||||
SYMFONY_ICON 'SF'
|
SYMFONY_ICON 'SF'
|
||||||
|
|
Loading…
Reference in a new issue