On Sun, 24 Mar 2019 11:33:58 -0400
"Greg Reagle" <[email protected]> wrote:
> On Sun, Mar 24, 2019, at 04:40, Manfred Lotz wrote:
> > In zsh I could exclude certain commands from being added to history
> > like follows:
>
> Start the command line with a space and it will not go into history.
>
I know but I don't want to type the space for certain commands.
When I asked initially I tried eval and alias which was wrong.
So this is what works for me
set _ignore_cmds cd somecmd
for c in $_ignore_cmds
abbr $c " $c"
end
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users