We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
$plugin_dir
1 parent f59e332 commit 6b9e673Copy full SHA for 6b9e673
bin/exec-env
@@ -2,8 +2,11 @@
2
3
set -euo pipefail
4
5
-current_script_path="${BASH_SOURCE[0]}"
6
-plugin_dir="$(dirname "$(dirname "$current_script_path")")"
+current_script_dir="$(
+ cd -- "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1
7
+ pwd -P
8
+)"
9
+plugin_dir="$(dirname "$current_script_dir")"
10
11
# shellcheck source=../lib/utils.bash
12
source "${plugin_dir}/lib/utils.bash"
0 commit comments