summaryrefslogtreecommitdiff
path: root/assets/osx/Alacritty.app/Contents/MacOS/launcher
diff options
context:
space:
mode:
authorSemyon Pisarev <cema.rus@gmail.com>2017-01-15 19:46:23 +0300
committerBryce Fisher-Fleig <hckr1292@gmail.com>2017-03-06 10:27:25 -0800
commit2f0e31888f6d1d347fe5ffb455eb6aa2ad1569c3 (patch)
tree030fc42b37cf2a7590fc33b902b14798140974ad /assets/osx/Alacritty.app/Contents/MacOS/launcher
parentdc72b1324fbd34fcb3b3bd74d479af534007bd4b (diff)
downloadalacritty-2f0e31888f6d1d347fe5ffb455eb6aa2ad1569c3.tar.gz
alacritty-2f0e31888f6d1d347fe5ffb455eb6aa2ad1569c3.zip
Add tiny wrapper to start from '$HOME'
Diffstat (limited to 'assets/osx/Alacritty.app/Contents/MacOS/launcher')
-rwxr-xr-xassets/osx/Alacritty.app/Contents/MacOS/launcher6
1 files changed, 6 insertions, 0 deletions
diff --git a/assets/osx/Alacritty.app/Contents/MacOS/launcher b/assets/osx/Alacritty.app/Contents/MacOS/launcher
new file mode 100755
index 00000000..707c3205
--- /dev/null
+++ b/assets/osx/Alacritty.app/Contents/MacOS/launcher
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+BIN_DIR=$(dirname $0)
+
+cd "$HOME"
+exec "$BIN_DIR/alacritty" "$@"