aws cli 自动缩放命令不会 return 到 shell 提升
aws cli autoscaling command doesn't return to shell promot
在 Macbook pro 中,iterm2 与 aws cli,shell zsh。
当 运行 低于命令时,shell 会转到左上角带有“(END)”的空白屏幕。我必须按 "q" 退出才能返回到 shell 提示符。
aws autoscaling update-auto-scaling-group --auto-scaling-group-name xxx --desired-capacity 1
这很烦人。我怎样才能改变它,使命令 return 恢复正常 shell promot?
并非所有 aws cli 命令都具有相同的行为。就像 "aws s3 ls" 运行正常。
谢谢。
AWS CLI v2 可以选择指定 pager 来处理超过一个屏幕的输出。
如果您希望不分页显示所有输出,请编辑 ~.aws/config
文件并插入:
[default]
cli_pager=
参见:AWS CLI version 2 uses a paging program for all output by default
在 Macbook pro 中,iterm2 与 aws cli,shell zsh。
当 运行 低于命令时,shell 会转到左上角带有“(END)”的空白屏幕。我必须按 "q" 退出才能返回到 shell 提示符。
aws autoscaling update-auto-scaling-group --auto-scaling-group-name xxx --desired-capacity 1
这很烦人。我怎样才能改变它,使命令 return 恢复正常 shell promot?
并非所有 aws cli 命令都具有相同的行为。就像 "aws s3 ls" 运行正常。
谢谢。
AWS CLI v2 可以选择指定 pager 来处理超过一个屏幕的输出。
如果您希望不分页显示所有输出,请编辑 ~.aws/config
文件并插入:
[default]
cli_pager=
参见:AWS CLI version 2 uses a paging program for all output by default