thestinger / termite

Termite is obsoleted by Alacritty. Termite was a keyboard-centric VTE-based terminal, aimed at use within a window manager with tiling and/or tabbing support.
https://github.com/alacritty/alacritty
2.74k stars 241 forks source link

Improve --exec argument passing #717

Closed PietroCarrara closed 3 years ago

PietroCarrara commented 4 years ago

Added a new flag, -x or --greedy to signal that the user wants to redirect unused termite arguments to exec's command.

Usage: termite -ex nvim myfile.txt termite -e nvim --greedy myfile1.txt myfile2.txt termite -ex nvim -- -xyz myfile.txt (-xyz will be redirected to nvim, since they are placed after the --. If they were placed before, termite would error out claiming to have found a unknown option, which makes sense)

thestinger commented 3 years ago

Termite is obsolete. Please use Alacritty instead. See https://github.com/thestinger/termite#termite-is-obsoleted-by-alacritty for more details.