Skip to content

Commit

Permalink
feat(eza): removed exa in favor of its fork, eza
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAegis committed Nov 4, 2023
1 parent f50f91d commit 9f73154
Show file tree
Hide file tree
Showing 11 changed files with 42 additions and 2 deletions.
1 change: 1 addition & 0 deletions modules/exa/.deprecated
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
eza # Got forked
2 changes: 2 additions & 0 deletions modules/eza/.clash
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# makes it obsolete
lsd
2 changes: 2 additions & 0 deletions modules/eza/.dependencies
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
xdg
rust ? [ ! $pacman ]
1 change: 1 addition & 0 deletions modules/eza/.tags
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
shelltool
3 changes: 3 additions & 0 deletions modules/eza/0.root.pacman.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

pacman -Syu --needed --noconfirm eza
3 changes: 3 additions & 0 deletions modules/eza/0.user.fallback.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh

cargo install eza
13 changes: 13 additions & 0 deletions modules/eza/XDG_CONFIG_HOME.eza/alias.d/20-eza.alias
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

alias ls="eza -a"

# -a, --all show hidden and 'dot' files
# -l, --long display extended file metadata as a table
# -F, --classify display type indicator by file names
# -h, --header add a header row to each column
# -b, --binary list file sizes with binary prefixes
# -g, --group list each file's group
# -H, --links list each file's number of hard links
alias l="eza -alFhbgH --icons --git --time-style=long-iso"
alias lt="l --tree"
4 changes: 4 additions & 0 deletions modules/eza/e.user.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh

# shellcheck disable=SC1091
. "./XDG_CONFIG_HOME.eza/alias.d/20-eza.alias"
11 changes: 11 additions & 0 deletions modules/eza/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# [eza](https://github.com/eza-community/eza)

> [Arch Wiki][wiki]
[wiki]: https://wiki.archlinux.org/index.php/core_utilities#ls_alternatives

`eza` is a replacement for `ls` written in Rust.

## Exa

This project is a fork of <https://github.com/ogham/exa>
2 changes: 1 addition & 1 deletion presets/common/systools.preset
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sudo
exa
eza
lf
2 changes: 1 addition & 1 deletion presets/common/utilities.preset
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# This preset containes modules to install various util modules
exa
eza

0 comments on commit 9f73154

Please sign in to comment.