Changed file extension back
This commit is contained in:
36
bash/osx/color-ls
Normal file
36
bash/osx/color-ls
Normal file
@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
# Colors are organized into (Foreground)(Background) bits as seen below:
|
||||
# ========
|
||||
# 1 - Directory
|
||||
# 2 - Symbolic link
|
||||
# 3 - Socket
|
||||
# 4 - Pipe
|
||||
# 5 - Executable
|
||||
# 6 - Block special
|
||||
# 7 - Character special
|
||||
# 8 - Executable with setgid bit set
|
||||
# 9 - Executable with setgid bit set
|
||||
# 10- Directory writable to others, with sticky bit
|
||||
# 11- Directory writable to others, without sticky bit
|
||||
# ========
|
||||
# a black
|
||||
# b red
|
||||
# c green
|
||||
# d brown
|
||||
# e blue
|
||||
# f magenta
|
||||
# g cyan
|
||||
# h light grey
|
||||
# CAPITAL (BOLD)
|
||||
# x default
|
||||
|
||||
# actual colorscheme
|
||||
export LSCOLORS="ExxxxxDxBxxxxxxxxxxxxx"
|
||||
|
||||
# for OSX, fixes spacing issues
|
||||
f_notabs=0
|
||||
|
||||
# default ls to use defined colorscheme
|
||||
alias ls='ls -G'
|
||||
|
||||
|
Reference in New Issue
Block a user