| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
for the three clock options (no clock, a 12-hour clock, or a 24-hour
clock), use the first character of the option as the input to
fix #2266.
This pull request is a reissue of – and supersession of – #2267,
which was pushed on a branch with non-ASCII characters in the name.
Signed-off-by: Lucas Larson <LucasLarson@riseup.net>
|
| |
|
|
|
|
| |
POWERLEVEL9K_NIX_SHELL_INFER_FROM_PATH is set to true (#2246)
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Apparently Windows Terminal has a bug. To reproduce:
print -P '\UF0737%K{red} %k'
The expected output:
x_
Here 'x' signifies any glyph of width 1, and '_' signifies a red
block.
The actual output:
x _
Notice the space.
The output of the following two commands is as expected:
print -P '\UFC35%K{red} %k'
print -P '\UFC35x'
|
| |
|
|
|
|
| |
This is Step 2 of https://github.com/romkatv/powerlevel10k/issues/2217#issuecomment-1493271666.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This is Step 1 of https://github.com/romkatv/powerlevel10k/issues/2217#issuecomment-1493271666.
|
| |
|
|
|
|
| |
in most cases to restrict globbing to files/directories/links/etc (#2175)
|
|
|
|
| |
It was broken by #1730.
|
| |
|
|
|
|
| |
This was broken in #2088.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The AWS ARN in govcloud and china looks different to the currently supported
one:
https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/using-govcloud-arns.html
https://docs.amazonaws.cn/en_us/aws/latest/userguide/ARNs.html
This change introduces support for all possible AWS partitions.
|
| |
|
|
|
|
|
|
| |
The bug was introduced here: https://github.com/ohmyzsh/ohmyzsh/commit/3dd83a22a160249a71631a51490fd3b89d1b3975
This causes Oh My Zsh to print \r to the terminal.
|
| |
|
| |
|
|
|
|
| |
This allows shells on macOS to display more specific CPU arch (e.g. a 64-bit intel machine will display "x86_64" instead of "i386")
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`ifconfig`'s formatting doesn't cope well with long interface names. In
these cases it will eat up the whitespace separating the name from the
text "Link" in the output, which makes parsing the output problematic.
e.g. `ifconfig`:
wlp0s20f0u2Link encap:Ethernet HWaddr 00:AA:BB:CC:DD:EE
v.s `ip`:
21: wlp0s20f0u2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc \
mq state UP group default qlen 1000
This commit swaps the order of detection inside
`_p9k_prompt_net_iface_async()`, so that `ip` will be preferred.
`ifconfig` is deprecated by distros in favour of `ip`, so this will
often be an incredibly marginal performance boost :)
NOTE: this commit does not address the problem with using `ifconfig`. I
don't understand the zsh regex, so have not touched it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
POWERLEVEL9K_CHRUBY_SHOW_ENGINE_PATTERN (#2072)
POWERLEVEL9K_CHRUBY_SHOW_ENGINE_PATTERN defines a pattern that
RUBY_ENGINE should match for it to be shown. Matching is done
with extended_glob.
For example, to show all values of RUBY_ENGINE except "ruby":
POWERLEVEL9K_CHRUBY_SHOW_ENGINE_PATTERN='^ruby'
If POWERLEVEL9K_CHRUBY_SHOW_ENGINE_PATTERN is unset and
POWERLEVEL9K_CHRUBY_SHOW_ENGINE is set to true,
the behavior is the same as if POWERLEVEL9K_CHRUBY_SHOW_ENGINE_PATTERN
was set to *.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, the chruby segment looks like this for standard and
non-standard ruby implementations respectively:
```
Ruby ruby 3.1.2
Ruby truffleruby 3.0.3
```
While displaying the RUBY_ENGINE is helpful for non-standard
implementations, showing it for "ruby" results in "Ruby ruby" which
feels redundant.
This commit adds a new configuration option to disable showing the
RUBY_ENGINE when it is "ruby". Other values for RUBY_ENGINE will always
display as before:
```
Ruby 3.1.2
Ruby truffleruby 3.0.3
```
This also makes the formatting more similar to the asdf segment:
```
Ruby 3.1.2
Ruby truffleruby-22.3.0
```
|
| |
|
|\
| |
| |
| | |
brent-moffit-master
|
| | |
|
| | |
|
| |
| |
| |
| | |
Adds the `arch` prompt to `p10k.zsh`, `ARCH_ICON` to `icons.zsh`, and commented entries in the default configs
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
terminfo (#1699)
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
Signed-off-by: Lucas Larson <LucasLarson@riseup.net>
|
| |
| |
| |
| |
| |
| |
| |
| | |
Here's the bug:
zsh -fc 'print "${#${x}}"'
This code should print "0" but it prints "1" in zsh 5.4.1.
|
| |
| |
| |
| | |
Context: https://github.com/microsoft/vscode/pull/145610#issuecomment-1076519194
|
| | |
|