In 2024 an editor having such a simplistic approach counts as a bug. But perhaps adding a variable would allow anyone to nominate their own favourite, such as as BASHFC_TMPNAM=/tmp/bash-fc.$$.XXXXXX.sh
Alternatively, perhaps an extra line could be inserted at the start of the b file, like « #!fc-edit/bash » On Fri, 20 Sep 2024, 16:41 shynur ., <one.last.k...@outlook.com> wrote: > `fc` will create a temporary file named something > like "bash-fc.Esf9by", which seldom benefits from > editors that use *suffixes* to infer what syntax > highlighting should be enabled. > > (This improvement may not only apply to `fc`.) > > -- > shynur >