Skip to content

Instantly share code, notes, and snippets.

@knbknb
Forked from louiskounios/exa-config.sh
Last active April 10, 2022 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save knbknb/9e20d1a4e8434e648ebab20915f88c5a to your computer and use it in GitHub Desktop.
Save knbknb/9e20d1a4e8434e648ebab20915f88c5a 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'
alias lrt='exa --classify --long --group --sort newest'
# 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'
export EXA_COLORS='fi=38;5;007:di=38;5;038:ex=38;5;023:ur=38;5;007:uw=38;5;095:ux=38;5;003:ue=38;5;023:gr=38;5;007:gw=38;5;095:gx=38;5;023:tr=38;5;007:tw=38;5;095:tx=38;5;023:sn=38;5;007:sb=38;5;007:uu=38;5;007:un=38;5;214:gu=38;5;007:gn=38;5;214:da=38;5;007:hd=4;38;5;007'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment