News for hackers. Stuff that matters.
Re:An Illustrated Guide to Useful Command Line Tools by mxschumacher on Saturday October 26, 2019 @09:42AM (#21363615)
in order to avoid having to unlearn commands like cat and ls, I use aliases to invoke bat and exa.

Here's a screenshot of my fish config: https://twitter.com/mxschumacher/status/1168993005744918528

Re:An Illustrated Guide to Useful Command Line Tools by WonkeyMonkey on Saturday October 26, 2019 @06:16PM (#21366601)
For clearing the screen, try 'Ctrl-l' (lowercase L)

A quick lookup suggests fish handles some of these differently than bash (apparently fish clears the buffer with this shortcut, so your scroll back is gone?).

There are a quite a few of these for anyone interested: https://kapeli.com/cheat_sheets/Bash_Shortcuts.docset/Conten...

Re:An Illustrated Guide to Useful Command Line Tools by dickeytk on Saturday October 26, 2019 @02:08PM (#21365240)
I would do

  alias ls "exa"
  alias ll "exa -ll"
That way you get the nice shorter output which comes in handy for piping ls things like:

  ls -d | xargs ls
Lists the files in subdirectories.
Re:An Illustrated Guide to Useful Command Line Tools by mxschumacher on Saturday October 26, 2019 @05:29PM (#21366357)
good idea - thank you!