aboutsummaryrefslogtreecommitdiff
path: root/assets/osx/Alacritty.app/Contents/MacOS/launcher
diff options
context:
space:
mode:
Diffstat (limited to 'assets/osx/Alacritty.app/Contents/MacOS/launcher')
-rwxr-xr-xassets/osx/Alacritty.app/Contents/MacOS/launcher2
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/osx/Alacritty.app/Contents/MacOS/launcher b/assets/osx/Alacritty.app/Contents/MacOS/launcher
index 0c055b61..be2ee7f8 100755
--- a/assets/osx/Alacritty.app/Contents/MacOS/launcher
+++ b/assets/osx/Alacritty.app/Contents/MacOS/launcher
@@ -1,6 +1,6 @@
#!/bin/bash
-BIN_DIR=$(dirname $0)
+BIN_DIR=$(cd "$(dirname "$0")"; pwd)
cd "$HOME"
exec "$BIN_DIR/alacritty"