File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -133,16 +133,14 @@ 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
136137zinit wait' 1' as' null' lucid for \
137138 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' \
138140 atclone' [[ "$(uname)" == "Darwin" ]] && curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg" && sudo installer -pkg AWSCLIV2.pkg -target /' \
139141 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 \
145142 atload' ([[ ! -e ~/.zshrc.zwc ]] || [[ ~/.zshrc -nt ~/.zshrc.zwc ]]) && zcompile ~/.zshrc' \
143+ atinit' complete -C aws_completer aws' atpull' %atclone' \
146144 rajyan/null
147145
148146# keybindings
You can’t perform that action at this time.
0 commit comments