Tag: zsh

  • autocomplete aws cli commands in zsh on a mac

    the following commands assume that you have the awscli command installed on your mac. if you don’t then just type in brew install awscli. having awscli auto-complete is easier than the az cli because it ships with the aws_completer command. we find the aws_completer and register it to auto-load in our .zshrc. the following command does this. restart your zsh (cmd+q) after entering this command.

    (more…)
  • autocomplete az commands in zsh on a mac

    the following script assumes that you have the az command installed on your mac. if you have installed it using homebrew then it copies the auto-completion file to the location /opt/homebrew/etc/bash_completion.d/az already. all we have to do is to make it auto load on zsh startup. copy and paste the following command to do it. restart your zsh (cmd+q) after entering this command.

    (more…)