Skip to content

Instantly share code, notes, and snippets.

View eodabas's full-sized avatar

Emre Odabas eodabas

  • Velociterm Limited
  • London
View GitHub Profile
@eodabas
eodabas / s3vim.sh
Created July 12, 2019 14:05
wrapper for editing files on s3 with vim
#!/bin/bash
print_help() {
echo -e "Usage:\n\n $0 [--profile PROFILE] [s3_url]\n"
exit 1
}
while [[ -n $1 ]];
do
if [[ $1 == "-p" ]] || [[ $1 == "--profile" ]]; then