News for hackers. Stuff that matters.
Re:Ask HN: Do you use the bash alias feature much? by dredmorbius on Sunday May 29, 2022 @01:30PM (#31550933)
Somewhat less with time, as bash functions are preferred and more powerful handle arguments, multi-step processing, logic).

But yes, for basic arguments, particularly for ls:

  alias ls='ls -F'
  alias la='ls -A'
  alias ll='ls -l'
Occasionally for other commands for which the default is not ideal. w3m, for example, will read the bookmarks file if URL is passed, with '-B', but otherwise exits with an error, which is annoying.

  alias w3m='w3m -B'
Git commands, as others note.

There are no comments on this comment yet.