Dmitrii Odintcov
2024-08-22 10:10:01 UTC
Let's say I want to install VS Code / Codium as an alternative for
`/usr/bin/editor`, but I want it to always run with `--wait
--reuse-window` so that other software can rely on the editor
returning after the file is saved (like `crontab -e` does, for
example)
I cannot do `update-alternatives --install /usr/bin/editor editor
"$(which codium) --wait --reuse-window" 0` because the "alternative
path doesn't exist".
Suggestions?
`/usr/bin/editor`, but I want it to always run with `--wait
--reuse-window` so that other software can rely on the editor
returning after the file is saved (like `crontab -e` does, for
example)
I cannot do `update-alternatives --install /usr/bin/editor editor
"$(which codium) --wait --reuse-window" 0` because the "alternative
path doesn't exist".
Suggestions?