mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2026-01-22 22:45:37 +01:00
Add option for not overriding OS
This commit is contained in:
parent
9e0ef918db
commit
d55d1d03f5
6 changed files with 30 additions and 0 deletions
|
|
@ -1622,6 +1622,11 @@
|
|||
# really need it.
|
||||
typeset -g POWERLEVEL9K_DISABLE_HOT_RELOAD=true
|
||||
|
||||
# Prevent the OS variable from being set.
|
||||
# On Windows P10K sets OS to Windows by default, which can create problems for applications
|
||||
# expecting it to be the default Windows_NT. By enabling this option, P10K won't set OS.
|
||||
#typeset -g POWERLEVEL9K_DONT_SET_OS=true
|
||||
|
||||
# If p10k is already loaded, reload configuration.
|
||||
# This works even with POWERLEVEL9K_DISABLE_HOT_RELOAD=true.
|
||||
(( ! $+functions[p10k] )) || p10k reload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue