diff options
-rwxr-xr-x | .local/bin/open | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/open b/.local/bin/open index 04a346b..df1ad56 100755 --- a/.local/bin/open +++ b/.local/bin/open @@ -93,7 +93,7 @@ for f in "$@"; do alot compose "$f" ;; *) - DIR="$(realpath -- "$(dirname -- "$0")")" + DIR="$(cd -- "$(dirname -- "$0")"; pwd)" CMD="$(without-env PATH "$DIR" -- command -v xdg-open)" "$CMD" "$f" ;; |