diff options
author | xyz <gky44px1999@gmail.com> | 2022-09-16 13:58:35 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2022-09-16 13:58:35 -0700 |
commit | c2a53abfd0ec62b7aabe42b8b17459ed59a56f4f (patch) | |
tree | 064391988213fe50a7bbd4b1ee30e7d4891fecaf /home/xyz/.local/bin/alacritty | |
parent | fb58cde9a48d7481c2d6039b338707ba3ffcead2 (diff) |
alacritty make `o .` work again
Diffstat (limited to 'home/xyz/.local/bin/alacritty')
-rwxr-xr-x | home/xyz/.local/bin/alacritty | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/home/xyz/.local/bin/alacritty b/home/xyz/.local/bin/alacritty index 64cedfcc..36b0aed7 100755 --- a/home/xyz/.local/bin/alacritty +++ b/home/xyz/.local/bin/alacritty @@ -1,4 +1,6 @@ #!/bin/sh -# https://github.com/MithicSpirit/dotfiles/blob/master/.local/bin/alacritty -/usr/bin/alacritty msg create-window "$@" || /usr/bin/alacritty "$@" +# 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 "$@" |