Skip to content

Commit 2f17842

Browse files
committed
feat: enable aws cli completer
Add a .bashrc to the home folder so that the completer is enabled each time the terminal is connected. see https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-completion.html
1 parent 00ee26a commit 2f17842

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.bashrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
complete -C /usr/local/bin/aws_completer aws

.devcontainer/devcontainer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,14 @@
1010
"features": {
1111
"ghcr.io/devcontainers/features/aws-cli:1": {},
1212
"ghcr.io/devcontainers-contrib/features/aws-cdk:2": {}
13-
}
13+
},
1414

1515
// Use 'forwardPorts' to make a list of ports inside the container available locally.
1616
// "forwardPorts": [],
1717

1818
// Use 'postCreateCommand' to run commands after the container is created.
1919
// "postCreateCommand": "uname -a",
20+
"postCreateCommand": "cp .bashrc ~/"
2021

2122
// Configure tool-specific properties.
2223
// "customizations": {},

0 commit comments

Comments
 (0)