Compare commits
3 Commits
ccaa3b34fd
...
d406ad3dbb
| Author | SHA1 | Date |
|---|---|---|
|
|
d406ad3dbb | |
|
|
3e2053a934 | |
|
|
59ff7f8bef |
16
README.md
16
README.md
|
|
@ -431,6 +431,7 @@ Powerlevel10k.
|
||||||
- [Arch Linux](#arch-linux)
|
- [Arch Linux](#arch-linux)
|
||||||
- [Alpine Linux](#alpine-linux)
|
- [Alpine Linux](#alpine-linux)
|
||||||
- [Fig](#fig)
|
- [Fig](#fig)
|
||||||
|
- [Sheldon](#sheldon)
|
||||||
|
|
||||||
### Manual
|
### Manual
|
||||||
|
|
||||||
|
|
@ -549,6 +550,21 @@ ln -s /usr/share/zsh/plugins/powerlevel10k ~/.local/share/zsh/plugins/
|
||||||
Follow the instructions on
|
Follow the instructions on
|
||||||
[this page](https://fig.io/plugins/other/powerlevel10k).
|
[this page](https://fig.io/plugins/other/powerlevel10k).
|
||||||
|
|
||||||
|
### Sheldon
|
||||||
|
|
||||||
|
Add the following to the Sheldon config file.
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[plugins.powerlevel10k]
|
||||||
|
github = "romkatv/powerlevel10k"
|
||||||
|
```
|
||||||
|
|
||||||
|
Or run the following to automatically add it.
|
||||||
|
|
||||||
|
```zsh
|
||||||
|
sheldon add powerlevel10k --github romkatv/powerlevel10k
|
||||||
|
```
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
- [For new users](#for-new-users)
|
- [For new users](#for-new-users)
|
||||||
|
|
|
||||||
|
|
@ -1206,7 +1206,7 @@ prompt_aws() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_p9k_prompt_aws_init() {
|
_p9k_prompt_aws_init() {
|
||||||
typeset -g "_p9k__segment_cond_${_p9k__prompt_side}[_p9k__segment_index]"='${AWS_VAULT:-${AWSUME_PROFILE:-${AWS_PROFILE:-$AWS_DEFAULT_PROFILE}}}'
|
typeset -g "_p9k__segment_cond_${_p9k__prompt_side}[_p9k__segment_index]"='${AWS_SSO_PROFILE:-${AWS_VAULT:-${AWSUME_PROFILE:-${AWS_PROFILE:-$AWS_DEFAULT_PROFILE}}}}'
|
||||||
}
|
}
|
||||||
|
|
||||||
################################################################
|
################################################################
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue