Re: update-alternatives: install with permanent arguments

2024-08-22 Thread Henning Follmann
On Thu, Aug 22, 2024 at 08:17:36AM -0400, Greg Wooledge wrote: > On Thu, Aug 22, 2024 at 14:33:22 +0300, Dmitrii Odintcov wrote: > > Hi Greg, > > > > > > This has occurred to me, but seemed like a bit of a hack and less > > convenient to transfer to other machines... > > > > > do it manually, no

Re: update-alternatives: install with permanent arguments

2024-08-22 Thread Greg Wooledge
On Thu, Aug 22, 2024 at 14:33:22 +0300, Dmitrii Odintcov wrote: > Hi Greg, > > > This has occurred to me, but seemed like a bit of a hack and less > convenient to transfer to other machines... > > > do it manually, not with update-alternatives > Why so? Could I not feed the script path to update

Re: update-alternatives: install with permanent arguments

2024-08-22 Thread Dmitrii Odintcov
Hi Greg, This has occurred to me, but seemed like a bit of a hack and less convenient to transfer to other machines... > do it manually, not with update-alternatives Why so? Could I not feed the script path to update-alternatives install? Thanks On Thu, 22 Aug 2024 at 14:02, Greg Wooledge wr

Re: update-alternatives: install with permanent arguments

2024-08-22 Thread Greg Wooledge
On Thu, Aug 22, 2024 at 13:09:06 +0300, Dmitrii Odintcov wrote: > 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 (lik