~tommoa/dots

4a59a9f04522e6c5b33c36adff2213d717162347 — Tom Almeida 9 months ago d50c89b
chore(nixpkgs): Swap from using exa to using eza

Exa is no longer maintained, but eza is a fork that is maintained.
2 files changed, 4 insertions(+), 4 deletions(-)

M .config/nixpkgs/darwin/configuration.nix
M .env
M .config/nixpkgs/darwin/configuration.nix => .config/nixpkgs/darwin/configuration.nix +1 -1
@@ 21,7 21,7 @@
    beancount
    catimg
    dante
    exa
    eza
    fava
    fd
    gitFull

M .env => .env +3 -3
@@ 50,9 50,9 @@ prompt_git() {
PS1='$(printf "\033[1;38;5;85m${USER}${SSH_CLIENT:+${red}@${underline_cyan}$(uname -n)}${reset}${bold}:\033[38;5;75m${PWD#${HOME}/}${reset}${bold}#${reset}") $(prompt_git)'

{
    if which exa >/dev/null 2>/dev/null; then
        # Set ls to being exa if possible
        alias ls="exa --color=auto"
    if which eza >/dev/null 2>/dev/null; then
        # Set ls to being eza if possible
        alias ls="eza --color=auto"
    elif ls --version 2>&1 | grep -i gnu >/dev/null; then
        # gnu coreutils supports colours
        alias ls="ls --color=auto"