even-better-ls
even-better-ls copied to clipboard
Icons don't display using ls (iTerm2 on Mac OS X 10.12)
Hello
I am using Mac OS X 10.12 and iTerm2 as my terminal emulator
Running ls_colors_generator
shows the icons as expected, however running the patched ls
binary doesn't seem to respect the LS_COLORS variable
The patched ls
output is different from the system ls
, so I know that this is the binary being used. For clarity, here is an md5 of the file if comparison is needed, not sure what other information you would need to assist with this
in ~ md5 /Users/ole09/bin/lsi
MD5 (/Users/ole09/bin/lsi) = 6228598ea957078cc985ffb684cc5e9f
Thanks,
Oliver
Are you sure that you have nerd-fonts installed? You can get a compatible font here.
Yep, the fonts are definitely there, as the ls_colors_generator
displays them fine
edit
Even the colours don't work
LS_COLORS=$(ls_colors_generator)
run_ls() {
lsi --color=auto -w $(tput cols) "$@"
}
alias ls="run_ls"
Found it, the LS_COLORS needed exporting too
Would you be averse to a PR that will set some variables and additional commands if the host is a Mac?
#19 Add additional commands if install target is macOS
bump?
Dev is dead, get a fork
On Thu, 5 Apr 2018, 22:56 Avishay Zarad, [email protected] wrote:
bump?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/illinoisjackson/even-better-ls/issues/18#issuecomment-379057644, or mute the thread https://github.com/notifications/unsubscribe-auth/ASpZqz77gR_Y58oEUQQJXMvu5hn2GeIqks5tlnbygaJpZM4OFDJF .
@muggahtee, does your commit work with Mojave?
I’ve never cloned a commit before but this isn’t working:
git clone https://github.com/mnurzia/even-better-ls.git -b mac_os_script_changes ~/even-better-ls-mac
Cloning into '/Users/chrisvaccaro/even-better-ls-mac'...
fatal: Remote branch mac_os_script_changes not found in upstream origin
Or is it just better to clone ev0rtex/even-better-ls
This project is dead it seems. But the above branch only exists on my fork (so replace mnurzia with muggahtee)
However, I’d recommend LSD which is similar but maintained