Skip to content

Instantly share code, notes, and snippets.

View jankatins's full-sized avatar

Jan Katins jankatins

View GitHub Profile
@jankatins
jankatins / exa-wrapper.sh
Created September 1, 2022 13:03 — forked from eggbean/eza-wrapper.sh
Wrapper script for exa to give it nearly identical switches and appearance to ls. Also automatically adds --git switch when in a git repository.
#!/bin/bash
## Change following to '0' for output to be like ls and '1' for exa features
# Don't list implied . and .. by default with -a
dot=0
# Show human readable file sizes by default
hru=1
# Don't show group column
fgp=0
# Don't show hardlinks column