[Feature Request] Support alias cls='clear' Officially
Ralf Mardorf
ralf.mardorf at alice-dsl.net
Sun Oct 15 08:26:21 UTC 2017
Hi,
> On 15 Oct 2017, at 09:53, Xen <list at xenhideout.nl> wrote:
> Ralf Mardorf schreef op 15-10-2017 6:22:
>>
>>> On 14 Oct 2017, at 15:52, 蔡瑋倫 <alan23273850 at gmail.com> wrote:
>>> 1. From the perspective of keyboard typing, "cls" is much easier to type than "clear."
>> what is speaking against using Ctrl+L ?
> Does the existence of Ctrl+L speak against the existence of the "clear" command? So, moot point.
no, that's why a 'clear' command does exist ;).
However, if 'clear' should be too much to type when writing a scrip, there are better workarounds regarding script portability, than using an alias for 'clear' ;).
FWIW using an alias such as 'll' when posting to a Linux related mailing list is frowned upon for good reasons. Anyway, making 'll' a default is something completely different, than making 'cls' a default alias.
Nothing is speaking against using the alias 'cls', I'm not against it, but I dislike making too many aliases a default for a distro.
Basic shell commands should be the same for all distros, adding too many aliases to a distro, especially the MS DOS related ones, could cause confusing distro specific accents.
Q: "Do you know dash and bash?"
A: "Yes, but only the Ubuntu accent!"
Regards,
Ralf
More information about the Ubuntu-devel-discuss
mailing list