Skip to content

Instantly share code, notes, and snippets.

@scottrbaxter
Last active February 20, 2020 14:47
Show Gist options
  • Save scottrbaxter/6a2a8719d83648a718bfc2d373d19fc9 to your computer and use it in GitHub Desktop.
Save scottrbaxter/6a2a8719d83648a718bfc2d373d19fc9 to your computer and use it in GitHub Desktop.
# to open vscode terminal in browser tab, keyboard shortcut: ctrl-`
# run these commands
snap install --classic code
code --install-extension mauve.terraform --user-data-dir $HOME/hashicat-aws
cp -a ~/.vscode/extensions/mauve.terraform-1.4.0 ~/.local/share/code-server/extensions
# refresh gui (top right corner of code editor tab)
# fix missing aws keys (after [step] changing your shell to bash)
if [ ! $AWS_ACCESS_KEY_ID ]; then
echo "[ ! \$AWS_ACCESS_KEY_ID ] && source /etc/profile.d/instruqt-env.sh" >> $HOME/.bashrc
source /etc/profile.d/instruqt-env.sh
fi
# profit $$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment