Skip to content

Instantly share code, notes, and snippets.

@louiskounios
Last active April 10, 2022 08:38
Show Gist options
  • Save louiskounios/5d14993f5a264d0d9211995b4c6c6419 to your computer and use it in GitHub Desktop.
Save louiskounios/5d14993f5a264d0d9211995b4c6c6419 to your computer and use it in GitHub Desktop.
exa useful aliases, and EXA_COLORS (/ LS_COLORS) config
alias ls='exa --classify --across'
alias l='exa --classify --oneline'
alias ll='exa --classify --long --group'
alias llg='exa --classify --long --grid --group'
alias tree='exa --classify --tree'
# When --long --grid are used at the same time, --grid will only apply if the
# resulting output will be at least EXA_GRID_ROWS long.
export EXA_GRID_ROWS=3
# Reduce the amount and intensity of colors shipped with `exa`. Dates, users,
# groups and file sizes are colored neutrally. Users and groups use a more
# vibrant color only if they don't match the user / group `exa` was ran under.
# Documentation here: https://the.exa.website/docs/colour-themes
# 8-bit color codes here: https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit
export EXA_COLORS='fi=38;5;015:di=38;5;038:ex=38;5;048:ur=38;5;015:uw=38;5;203:ux=38;5;048:ue=38;5;048:gr=38;5;015:gw=38;5;203:gx=38;5;048:tr=38;5;015:tw=38;5;203:tx=38;5;048:sn=38;5;255:sb=38;5;255:uu=38;5;255:un=38;5;214:gu=38;5;255:gn=38;5;214:da=38;5;255:hd=4;38;5;015'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment