Compare commits
4 Commits
97591e5398
...
1d347f9551
| Author | SHA1 | Date |
|---|---|---|
|
|
1d347f9551 | |
|
|
efc9ddd9b6 | |
|
|
2c8ddb6a90 | |
|
|
b336fa098a |
|
|
@ -658,6 +658,11 @@ If you are using a different terminal, proceed with manual font installation.
|
|||
https://raw.githubusercontent.com/romkatv/powerlevel10k-media/389133fb8c9a2347929a23702ce3039aacc46c3d/visual-studio-code-font-settings.jpg)
|
||||
to see how it should look like or see [this issue](
|
||||
https://github.com/romkatv/powerlevel10k/issues/671) for extra information.
|
||||
|
||||
Note that software installed via [Snap](https://en.wikipedia.org/wiki/Snap_\(software\)) is
|
||||
unable to use system fonts. If you've install Visual Studio Code via Snap, remove it by running
|
||||
`sudo snap remove code` and install the official `.deb` build from the
|
||||
[Visual Studio Code website](https://code.visualstudio.com/Download).
|
||||
- **GNOME Terminal** (the default Ubuntu terminal): Open *Terminal → Preferences* and click on the
|
||||
selected profile under *Profiles*. Check *Custom font* under *Text Appearance* and select
|
||||
`MesloLGS NF Regular`.
|
||||
|
|
|
|||
|
|
@ -999,6 +999,9 @@
|
|||
typeset -g POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW=false
|
||||
# If set to false, hide python version if it's equal to "system".
|
||||
typeset -g POWERLEVEL9K_PYENV_SHOW_SYSTEM=true
|
||||
# Show pyenv only when the command you are typing matches one of these strings.
|
||||
# Tip: You might want to enable POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW above.
|
||||
# typeset -g POWERLEVEL9K_PYENV_SHOW_ON_COMMAND='py*|pip*|poetry|virtualenv'
|
||||
|
||||
# Pyenv segment format. The following parameters are available within the expansion.
|
||||
#
|
||||
|
|
@ -1010,7 +1013,7 @@
|
|||
# 1. Display just "$P9K_CONTENT" if it's equal to "$P9K_PYENV_PYTHON_VERSION" or
|
||||
# starts with "$P9K_PYENV_PYTHON_VERSION/".
|
||||
# 2. Otherwise display "$P9K_CONTENT $P9K_PYENV_PYTHON_VERSION".
|
||||
typeset -g POWERLEVEL9K_PYENV_CONTENT_EXPANSION='${P9K_CONTENT}${${P9K_CONTENT:#$P9K_PYENV_PYTHON_VERSION(|/*)}:+ $P9K_PYENV_PYTHON_VERSION}'
|
||||
typeset -g POWERLEVEL9K_PYENV_CONTENT_EXPANSION='${P9K_CONTENT}${${P9K_CONTENT:#$P9K_PYENV_PYTHON_VERSION(|/*)}:+$P9K_PYENV_PYTHON_VERSION}'
|
||||
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_PYENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
|
|
|||
|
|
@ -974,6 +974,9 @@
|
|||
typeset -g POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW=false
|
||||
# If set to false, hide python version if it's equal to "system".
|
||||
typeset -g POWERLEVEL9K_PYENV_SHOW_SYSTEM=true
|
||||
# Show pyenv only when the command you are typing matches one of these strings.
|
||||
# Tip: You might want to enable POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW above.
|
||||
# typeset -g POWERLEVEL9K_PYENV_SHOW_ON_COMMAND='py*|pip*|poetry|virtualenv'
|
||||
|
||||
# Pyenv segment format. The following parameters are available within the expansion.
|
||||
#
|
||||
|
|
@ -985,7 +988,7 @@
|
|||
# 1. Display just "$P9K_CONTENT" if it's equal to "$P9K_PYENV_PYTHON_VERSION" or
|
||||
# starts with "$P9K_PYENV_PYTHON_VERSION/".
|
||||
# 2. Otherwise display "$P9K_CONTENT $P9K_PYENV_PYTHON_VERSION".
|
||||
typeset -g POWERLEVEL9K_PYENV_CONTENT_EXPANSION='${P9K_CONTENT}${${P9K_CONTENT:#$P9K_PYENV_PYTHON_VERSION(|/*)}:+ $P9K_PYENV_PYTHON_VERSION}'
|
||||
typeset -g POWERLEVEL9K_PYENV_CONTENT_EXPANSION='${P9K_CONTENT}${${P9K_CONTENT:#$P9K_PYENV_PYTHON_VERSION(|/*)}:+$P9K_PYENV_PYTHON_VERSION}'
|
||||
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_PYENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
|
|
|||
|
|
@ -974,6 +974,9 @@
|
|||
typeset -g POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW=false
|
||||
# If set to false, hide python version if it's equal to "system".
|
||||
typeset -g POWERLEVEL9K_PYENV_SHOW_SYSTEM=true
|
||||
# Show pyenv only when the command you are typing matches one of these strings.
|
||||
# Tip: You might want to enable POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW above.
|
||||
# typeset -g POWERLEVEL9K_PYENV_SHOW_ON_COMMAND='py*|pip*|poetry|virtualenv'
|
||||
|
||||
# Pyenv segment format. The following parameters are available within the expansion.
|
||||
#
|
||||
|
|
@ -985,7 +988,7 @@
|
|||
# 1. Display just "$P9K_CONTENT" if it's equal to "$P9K_PYENV_PYTHON_VERSION" or
|
||||
# starts with "$P9K_PYENV_PYTHON_VERSION/".
|
||||
# 2. Otherwise display "$P9K_CONTENT $P9K_PYENV_PYTHON_VERSION".
|
||||
typeset -g POWERLEVEL9K_PYENV_CONTENT_EXPANSION='${P9K_CONTENT}${${P9K_CONTENT:#$P9K_PYENV_PYTHON_VERSION(|/*)}:+ $P9K_PYENV_PYTHON_VERSION}'
|
||||
typeset -g POWERLEVEL9K_PYENV_CONTENT_EXPANSION='${P9K_CONTENT}${${P9K_CONTENT:#$P9K_PYENV_PYTHON_VERSION(|/*)}:+$P9K_PYENV_PYTHON_VERSION}'
|
||||
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_PYENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
|
|
|||
|
|
@ -1049,6 +1049,9 @@
|
|||
typeset -g POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW=false
|
||||
# If set to false, hide python version if it's equal to "system".
|
||||
typeset -g POWERLEVEL9K_PYENV_SHOW_SYSTEM=true
|
||||
# Show pyenv only when the command you are typing matches one of these strings.
|
||||
# Tip: You might want to enable POWERLEVEL9K_PYENV_PROMPT_ALWAYS_SHOW above.
|
||||
# typeset -g POWERLEVEL9K_PYENV_SHOW_ON_COMMAND='py*|pip*|poetry|virtualenv'
|
||||
|
||||
# Pyenv segment format. The following parameters are available within the expansion.
|
||||
#
|
||||
|
|
@ -1060,7 +1063,7 @@
|
|||
# 1. Display just "$P9K_CONTENT" if it's equal to "$P9K_PYENV_PYTHON_VERSION" or
|
||||
# starts with "$P9K_PYENV_PYTHON_VERSION/".
|
||||
# 2. Otherwise display "$P9K_CONTENT $P9K_PYENV_PYTHON_VERSION".
|
||||
typeset -g POWERLEVEL9K_PYENV_CONTENT_EXPANSION='${P9K_CONTENT}${${P9K_CONTENT:#$P9K_PYENV_PYTHON_VERSION(|/*)}:+ $P9K_PYENV_PYTHON_VERSION}'
|
||||
typeset -g POWERLEVEL9K_PYENV_CONTENT_EXPANSION='${P9K_CONTENT}${${P9K_CONTENT:#$P9K_PYENV_PYTHON_VERSION(|/*)}:+$P9K_PYENV_PYTHON_VERSION}'
|
||||
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_PYENV_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
|
|
|||
5
font.md
5
font.md
|
|
@ -43,6 +43,11 @@ If you are using a different terminal, proceed with manual font installation.
|
|||
https://raw.githubusercontent.com/romkatv/powerlevel10k-media/389133fb8c9a2347929a23702ce3039aacc46c3d/visual-studio-code-font-settings.jpg)
|
||||
to see how it should look like or see [this issue](
|
||||
https://github.com/romkatv/powerlevel10k/issues/671) for extra information.
|
||||
|
||||
Note that software installed via [Snap](https://en.wikipedia.org/wiki/Snap_\(software\)) is
|
||||
unable to use system fonts. If you've install Visual Studio Code via Snap, remove it by running
|
||||
`sudo snap remove code` and install the official `.deb` build from the
|
||||
[Visual Studio Code website](https://code.visualstudio.com/Download).
|
||||
- **GNOME Terminal** (the default Ubuntu terminal): Open *Terminal → Preferences* and click on the
|
||||
selected profile under *Profiles*. Check *Custom font* under *Text Appearance* and select
|
||||
`MesloLGS NF Regular`.
|
||||
|
|
|
|||
Loading…
Reference in New Issue