Alejandro Gandara
dae5f7f1c9
* Added cache to terraform --version
3 years ago
Alejandro Gandara
f717a91f55
* Added new module for showing in prompt the active terraform version.
...
* Prompt shows, the terraform version in this format: Terraform v0.12.13 . If only if a valid terraform command is used, or an alias to it.
The use case: We have a need to constantly change between terraform versions depending on what project we are working on, it is easy to by mistake upgrade the wrong project to the latest terraform version. This is why the prompt is shown in red as soon as you type terraform, this is a good way to remind you to double check this is the terraform version you want to use.
Future improvements:
Detect current terraform version by checking the terraform workspace state version, and change the terraform color prompt from red to green if you're using the same version.
4 years ago
Roman Perepelitsa
c003c253e8
respect POWERLEVEL9K_INSTANT_PROMPT_COMMAND_LINES if it is explicitly set even when using z4h
4 years ago
Roman Perepelitsa
515422c727
fix a bug that can cause instant prompt to be duplicated in z4h
4 years ago
Roman Perepelitsa
717573d845
presume that `node --version` may depend on package.json ( #1388 )
4 years ago
Roman Perepelitsa
b9c62ca028
cleanup
4 years ago
Roman Perepelitsa
c7ad00b5a5
add P9K_AWS_PROFILE and P9K_AWS_REGION and use it in default configs
4 years ago
Alex Jurkiewicz
aa4d366341
Add region support for aws element
4 years ago
Roman Perepelitsa
c59720647a
fix asdf, was broken by 1ad8e5759e
( #1409 )
4 years ago
Roman Perepelitsa
f774df6c76
pyenv: skip lines that start with "#" ( #1376 )
4 years ago
Roman Perepelitsa
1ad8e5759e
when searching for files in ancestor directories, do match in $HOME ( #1376 )
4 years ago
Roman Perepelitsa
4d2346da0a
set P9K_PYENV_PYTHON_VERSION correctly when dealing with multiple pyenv versions ( #1376 )
4 years ago
Roman Perepelitsa
0ab7e1ccfd
when resolving `python --version`, handle pyenv shims specially ( #1378 )
4 years ago
Maxim Baz
9c034101fe
Add xplr segment ( #1396 )
4 years ago
Roman Perepelitsa
f924646194
add P9K_IP_{RX,TX}_BYTES_DELTA to the list of parameters available within POWERLEVEL9K_IP_CONTENT_EXPANSION ( #1392 )
4 years ago
Roman Perepelitsa
8d1daa4e63
disable colors in the output of taskwarrior; this time for real ( #1365 )
4 years ago
Roman Perepelitsa
b69bb45ab1
disable colors in the output of taskwarrior ( #1365 )
4 years ago
Roman Perepelitsa
607befe822
bump version ( #1361 )
4 years ago
Roman Perepelitsa
cd865da150
expand c-escapes in kubectl ( #1361 )
4 years ago
Roman Perepelitsa
b55ad16bdf
bug fix: segments whose state contains numbers could not be hidden ( #1353 )
4 years ago
Roman Perepelitsa
30bd9461b3
replace POWERLEVEL9K_LOAD_THRESHOLD with POWERLEVEL9K_LOAD_{WARNING,CRITICAL}_PCT ( #1340 )
4 years ago
Tim Ysewyn
8dc91004cb
Fix gcloud CLI ( #1342 )
...
This reverts #1324 (d3de2e5
).
4 years ago
Klas Mellbourn
8b2aab74d4
Add CPU load threshold setting ( #1340 )
4 years ago
Éverton Arruda
4d15cf977e
Get active gcloud profile using `list` command ( #1331 )
...
`gcloud config configure describe` command does not have `--filter` option. To filter
the active profile using `--filter` it is necessary to use `gcloud config configure list`
command
4 years ago
Roman Perepelitsa
eafd78c3e0
respect POWERLEVEL9K_SHORTEN_DIR_LENGTH when POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_last
4 years ago
Ramon Lucas
d3de2e558c
Sets the filter for the current gcloud profile ( #1324 )
...
When you have multiple profiles set up, you should only search for what is currently active.
4 years ago
Roman Perepelitsa
7d786b9c50
remove all CR from prompt ( #1304 and #1305 )
4 years ago
wzy
6d545d5dd0
Fix #1286 ( #1288 )
4 years ago
bcochofel
6a7115b35b
add azure classes ( #1274 )
4 years ago
Roman Perepelitsa
b816abfed0
work around bugs in add-zle-hook-widget ( #1238 )
4 years ago
Julio Carlos Barrera Juez
33f20f5eae
Add tailscale in VPN network interface regex. ( #1208 )
4 years ago
Roman Perepelitsa
d524164020
scroll the screen before printing prompt
4 years ago
Roman Perepelitsa
0513e0fee4
simplify `uname -m` matching on Windows platforms
4 years ago
Roman Perepelitsa
dd62469cc7
fix ram segment on darwin-arm64 ( #1181 )
...
Darwin arm64 uses 16kB pages rather than 4kB.
Thanks, @johnalanwoods!
4 years ago
Osman Tas
61c63eea6b
Update os icon at zsh.exe on git for windows ( #1180 )
...
* Update os icon for windows
Windows icon is not shown on git for windows zsh.exe
Same update also added to wizards.zsh file.
* Update os icon for windows
Windows icon is not shown on git for windows zsh.exe
Same update also added to p10k.zsh file.
4 years ago
Roman Perepelitsa
5ea5d4bc19
disable re_match_pcre, otherwise we can get an error when users enable this option without having zsh/pcre module
4 years ago
Roman Perepelitsa
b9b3399b35
nordvpn: pick up nordvpnd.sock from the new location (changed with the latest nordvpn update); remove MISSING state; ( #1167 )
4 years ago
Josh Skidmore
c14fe96b7c
remove accidental logging ( #1161 )
4 years ago
Roman Perepelitsa
439ce3ed4e
dir: add _NON_EXISTENT similarly to _NON_WRITABLE (requires POWERLEVEL9K_DIR_SHOW_WRITABLE=v3)
...
See #1160 .
4 years ago
Roman Perepelitsa
1d99a0bac3
wifi: recognize SSID with spaces ( #1152 )
4 years ago
Roman Perepelitsa
b90b36251d
fix iterm2 integration when not using zsh4humans v5 ( #192 and #1138 )
4 years ago
Roman Perepelitsa
2c3bcd8b5d
use tmux bypass in iterm2 integration only if _z4h_iterm_cmd is defined
4 years ago
Roman Perepelitsa
c7914c051d
remove spurious slashes from tmux bypass sequences
4 years ago
Roman Perepelitsa
96646e8b9c
enable iterm2 shell integration when running in tmux in zsh4humans
4 years ago
Roman Perepelitsa
98a8ec6f31
prompt_length cleanup
4 years ago
Roman Perepelitsa
7969eb3f18
retain instant prompt and state dumps when TERM or TERM_PROGRAM change ( #1098 )
4 years ago
Roman Perepelitsa
09be56bb53
fix a bug introduced in 8488f7c
( #1107 )
4 years ago
Roman Perepelitsa
f8ae544e6e
properly restore prompt after SIGINT when transient prompt is disabled
4 years ago
Roman Perepelitsa
8488f7c75c
set P9K_PROMPT=transient for the duration of zle-line-finish ( #1105 )
4 years ago
Roman Perepelitsa
271836403d
remove artificial term scrolling before instant prompt
4 years ago