mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2025-06-13 13:03:54 +00:00
Extra check for $AWS_SESSION_EXPIRATION var
This commit is contained in:
parent
1bc8cacaeb
commit
5e7bd70af1
@ -653,7 +653,7 @@ function __bobthefish_prompt_aws_vault_profile -S -d 'Show AWS Vault profile'
|
||||
[ "$theme_display_aws_vault_profile" = 'yes' ]
|
||||
or return
|
||||
|
||||
[ -n "$AWS_VAULT" ]
|
||||
[ -n "$AWS_VAULT" -a -n "$AWS_SESSION_EXPIRATION" ]
|
||||
or return
|
||||
|
||||
set -l profile $AWS_VAULT
|
||||
|
Loading…
Reference in New Issue
Block a user