Skip to content

Commit fb246d0

Browse files
committed
Revert "fix: fix session-manager install for linux"
This reverts commit 70204ba.
1 parent 70204ba commit fb246d0

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

dots/.zshrc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,16 @@ zinit wait'1' as'null' sbin'bin/n' lucid for \
133133
tj/n
134134

135135
## aws cli and session-manager
136-
## auto compiling zshrc & run additional setup
137136
zinit wait'1' as'null' lucid for \
138137
atclone'[[ "$(uname)" == "Linux" ]] && curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && unzip awscliv2.zip && ./aws/install -b $ZPFX/bin -i $ZPFX/aws-cli --update' \
139-
atclone'[[ "$(uname)" == "Linux" ]] && curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/ubuntu_64bit/session-manager-plugin.deb" -o "session-manager-plugin.deb" && sudo dpkg -i session-manager-plugin.deb' \
140138
atclone'[[ "$(uname)" == "Darwin" ]] && curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg" && sudo installer -pkg AWSCLIV2.pkg -target /' \
141139
atclone'[[ "$(uname)" == "Darwin" ]] && curl "https://s3.amazonaws.com/session-manager-downloads/plugin/latest/mac_arm64/session-manager-plugin.pkg" -o "session-manager-plugin.pkg" && sudo installer -pkg session-manager-plugin.pkg -target / && sudo ln -s /usr/local/sessionmanagerplugin/bin/session-manager-plugin /usr/local/bin/session-manager-plugin' \
140+
atpull'%atclone' \
141+
https://github.com/aws/aws-cli/blob/v2/bin/aws_zsh_completer.sh
142+
143+
## auto compiling zshrc & run additional setup
144+
zinit wait'1' as'null' lucid nocd for \
142145
atload'([[ ! -e ~/.zshrc.zwc ]] || [[ ~/.zshrc -nt ~/.zshrc.zwc ]]) && zcompile ~/.zshrc' \
143-
atinit'complete -C aws_completer aws' atpull'%atclone' \
144146
rajyan/null
145147

146148
# keybindings

0 commit comments

Comments
 (0)