3 ms·
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/m
by mxschumacher 7y ago
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 https://twitter.com/mxschumacher/status/1168993005744918528
- dickeytk 7y agoI 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.
- mxschumacher 7y agogood idea - thank you!
- WonkeyMonkey 7y agoFor 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/Contents/Resources/Documents/index https://kapeli.com/cheat_sheets/Bash_Shortcuts.docset/Conten...