#!/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" "$@" || exec /usr/bin/alacritty "$@"