@@ -18,27 +18,27 @@ These properties can be used anywhere, in any segment. If a segment contains a p
1818the segment property value will be used instead. In case you want to use the global property, you can prefix
1919it with ` .$ ` to reference it directly.
2020
21- | Name | Type | Description |
22- | --------------- | --------------------- | -------------------------------------------------------------------------------- |
23- | ` .Root ` | ` boolean ` | is the current user root/admin or not |
24- | ` .PWD ` | ` string ` | the current working directory (` ~ ` for ` $HOME ` ) |
25- | ` .AbsolutePWD ` | ` string ` | the current working directory (unaltered) |
26- | ` .PSWD ` | ` string ` | the current non-filesystem working directory in PowerShell |
27- | ` .Folder ` | ` string ` | the current working folder |
28- | ` .Shell ` | ` string ` | the current shell name. The value may be overriden by [ ` maps.shell_name ` ] [ maps ] . |
29- | ` .ShellVersion ` | ` string ` | the current shell version |
30- | ` .SHLVL ` | ` int ` | the current shell level |
31- | ` .UserName ` | ` string ` | the current user name |
32- | ` .HostName ` | ` string ` | the host name |
33- | ` .Code ` | ` int ` | the last exit code |
34- | ` .Executed ` | ` boolean ` | false when the shell just started or enter was pressed without a command |
35- | ` .Jobs ` | ` int ` | number of background jobs (only available for zsh, PowerShell, and Nushell) |
36- | ` .OS ` | ` string ` | the operating system |
37- | ` .WSL ` | ` boolean ` | in WSL yes/no |
38- | ` .Templates ` | ` string ` | the [ templates] [ templates ] result |
39- | ` .PromptCount ` | ` int ` | the prompt counter, increments with 1 for every prompt invocation |
40- | ` .Version ` | ` string ` | the Oh My Posh version |
41- | ` .Segment ` | [ ` Segment ` ] ( #segment ) | the current segment's metadata |
21+ | Name | Type | Description |
22+ | --------------- | --------------------- | --------------------------------------------------------------------------------- |
23+ | ` .Root ` | ` boolean ` | is the current user root/admin or not |
24+ | ` .PWD ` | ` string ` | the current working directory (` ~ ` for ` $HOME ` ) |
25+ | ` .AbsolutePWD ` | ` string ` | the current working directory (unaltered) |
26+ | ` .PSWD ` | ` string ` | the current non-filesystem working directory in PowerShell |
27+ | ` .Folder ` | ` string ` | the current working folder |
28+ | ` .Shell ` | ` string ` | the current shell name. The value may be overriden by [ ` maps.shell_name ` ] [ maps ] . |
29+ | ` .ShellVersion ` | ` string ` | the current shell version |
30+ | ` .SHLVL ` | ` int ` | the current shell level |
31+ | ` .UserName ` | ` string ` | the current user name |
32+ | ` .HostName ` | ` string ` | the host name |
33+ | ` .Code ` | ` int ` | the last exit code |
34+ | ` .Executed ` | ` boolean ` | false when the shell just started or enter was pressed without a command |
35+ | ` .Jobs ` | ` int ` | number of background jobs (only available for zsh, bash, PowerShell, and Nushell) |
36+ | ` .OS ` | ` string ` | the operating system |
37+ | ` .WSL ` | ` boolean ` | in WSL yes/no |
38+ | ` .Templates ` | ` string ` | the [ templates] [ templates ] result |
39+ | ` .PromptCount ` | ` int ` | the prompt counter, increments with 1 for every prompt invocation |
40+ | ` .Version ` | ` string ` | the Oh My Posh version |
41+ | ` .Segment ` | [ ` Segment ` ] ( #segment ) | the current segment's metadata |
4242
4343### Segment
4444
0 commit comments