On Thu, Aug 24, 2017 at 3:14 PM, Mark Volkmann <r.mark.volkm...@gmail.com>
wrote:
> It turns out that if I define "rm" as an abbreviation instead of an alias,
> this problem goes away.
>
Yep, because abbreviations only apply to commands entered at an interactive
prompt. In fact, this is a good example where an abbreviation is the better
choice. Most newcomers to fish are likely to use our `alias` command
thinking it plays a similar role to the bash command of the same name. When
in fact it's `abbr` that is the analog of bash `alias`. We should probably
make that clearer in the docs.
--
Kurtis Rader
Caretaker of the exceptional canines Junior and Hank
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users