1

I want to run tmuxp $(ls | fzf) on starting alacritty, is that possible? I am sure I have to change the program and args key in alacritty.yml, but it just doesn't work.

This is my current config:

shell:
  program: tmuxp
  args:
    - $(ls | fzf)
env:
John Winston
  • 1,260
  • 15
  • 30

1 Answers1

0

As mentioned here you need to spawn a shell first.

- bash -c "ls | fzf"
  • this works for you? I'm trying to run a script when Alacritty starts ``` shell: program: /bin/zsh args: - -c "/full/path/to/myScript/hello.sh" ``` – ranemirusG Jan 28 '23 at 21:50