Last active
March 25, 2021 17:15
-
-
Save binury/048fdaa273273f8af9b39da2a202f0eb to your computer and use it in GitHub Desktop.
Exa colorization for web dev file types
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://jonasjacek.github.io/colors | |
FC='38;5' # Full Color ANSI 256 Prefix | |
declare -A colors | |
colors=( | |
[ejs]=149 | |
[js]=184 | |
[jsx]=116 | |
[json]=251 | |
[ts]=32 | |
[css]=33 | |
[less]=25 | |
[sass]=133 | |
[html]=166 | |
) | |
for ext clr in ${(kv)colors}; do LS_COLORS+="*.$ext=$FC;${colors[$ext]}:"; done | |
export LS_COLORS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment