From f7b15f71a36da41f27062e73eef0f018d7029980 Mon Sep 17 00:00:00 2001 From: Snigdhajyoti Ghosh Date: Wed, 29 Nov 2023 20:59:05 +0530 Subject: [PATCH] fixing script path of itself --- bin/_awsp | 2 +- bin/_awsr | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/_awsp b/bin/_awsp index 5bc1a75..ad77930 100644 --- a/bin/_awsp +++ b/bin/_awsp @@ -1,6 +1,6 @@ #!/bin/bash -$(dirname "$0")/aws-fusion config-switch profile +$(realpath)/aws-fusion config-switch profile selected_profile="$(cat ~/.aws/fusion/profile)" diff --git a/bin/_awsr b/bin/_awsr index 16ac2b7..4d15e32 100644 --- a/bin/_awsr +++ b/bin/_awsr @@ -1,6 +1,6 @@ #!/bin/bash -$(dirname "$0")aws-fusion config-switch region +$(realpath)/aws-fusion config-switch region selected_region="$(cat ~/.aws/fusion/region)"