blob: 36b0aed7a2ee48d57a9c941f4f3cbdeeab931824 (
plain)
1
2
3
4
5
6
|
#!/bin/sh
# https://github.com/MithicSpirit/dotfiles/blob/bb5cce2268f473e5b17759448ee7715b4163fe66/.local/bin/alacritty
# use `--working-directory "$PWD"` so when do `o .` will launch alacritty in current dir
# without `msg create-window` no need --working-directory for `o .` to work
/usr/bin/alacritty msg create-window --working-directory "$PWD" "$@" || /usr/bin/alacritty "$@"
|