1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-01-15 23:08:16 +08:00

Compare commits

...

4 Commits

Author SHA1 Message Date
Marc Cornellà
39c79493fe Add maintainer for aws plugin 2020-10-29 12:22:50 +01:00
Setu Shah
77f7457051
aws: get and set session token if available (#9397) 2020-10-29 11:55:41 +01:00
spreiter
47d30784c5
colorize: add compatibility for zsh < 5.1 (#9400)
The direct assignment of a local array is not possible in older ZSH version, as used by RHEL/CentOS 7.
2020-10-29 11:54:29 +01:00
Marc Cornellà
63922b5ec4 Fix labels in issue templates 2020-10-28 23:08:19 +01:00
5 changed files with 9 additions and 7 deletions

7
.github/CODEOWNERS vendored
View File

@ -1,4 +1,5 @@
# Plugin owners
plugins/gitfast/ @felipec
plugins/sdk/ @rgoldberg
plugins/git-lfs/ @vietduc01100001
plugins/aws/ @maksyms
plugins/git-lfs/ @vietduc01100001
plugins/gitfast/ @felipec
plugins/sdk/ @rgoldberg

View File

@ -1,7 +1,7 @@
---
name: Feature request
about: Suggest a feature for Oh My Zsh
labels: 'feature'
labels: 'Feature'
---

View File

@ -1,7 +1,7 @@
---
name: Support
about: Request support for any problem you're having with Oh My Zsh
labels: 'support'
labels: 'Support'
---

View File

@ -61,7 +61,7 @@ function asp() {
else
aws_access_key_id="$(aws configure get aws_access_key_id --profile $1)"
aws_secret_access_key="$(aws configure get aws_secret_access_key --profile $1)"
aws_session_token=""
aws_session_token="$(aws configure get aws_session_token --profile $1)"
fi
export AWS_DEFAULT_PROFILE=$1

View File

@ -6,7 +6,8 @@ alias cless="colorize_less"
ZSH_COLORIZE_PLUGIN_PATH=$0:A
colorize_check_requirements() {
local available_tools=("chroma" "pygmentize")
local -a available_tools
available_tools=("chroma" "pygmentize")
if [ -z "$ZSH_COLORIZE_TOOL" ]; then
if (( $+commands[pygmentize] )); then