Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use eza instead of exa #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ fifc can use modern tools if available:
| [chafa](https://github.com/hpjansson/chafa) | file | Preview images, gif, pdf etc | `$fifc_chafa_opts` |
| [hexyl](https://github.com/sharkdp/hexyl) | file | Preview binaries | `$fifc_hexyl_opts` |
| [fd](https://github.com/sharkdp/fd) | find | Complete paths | `$fifc_fd_opts` |
| [exa](https://github.com/ogham/exa) | ls | Preview directories | `$fifc_exa_opts` |
| [eza](https://github.com/eza-community/eza) | ls | Preview directories | `$fifc_eza_opts` |
| [ripgrep](https://github.com/BurntSushi/ripgrep) | pcregrep | Search options in man pages | - |
| [procs](https://github.com/dalance/procs) | ps | Complete processes and preview their tree | `$fifc_procs_opts` |
| [broot](https://github.com/Canop/broot) | - | Explore directory trees | `$fifc_broot_opts` |
Expand All @@ -76,7 +76,7 @@ Show hidden file by default:

- `set -U fifc_fd_opts --hidden`

⚠️ Don't use quotes in variables, set them as a list: `set -U fifc_exa_opts --icons --tree`
⚠️ Don't use quotes in variables, set them as a list: `set -U fifc_eza_opts --icons --tree`

## 🛠️ Write your own rules

Expand Down
4 changes: 2 additions & 2 deletions functions/_fifc_preview_dir.fish
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
function _fifc_preview_dir -d "List content of the selected directory"
if type -q exa
exa --color=always $fifc_exa_opts $fifc_candidate
if type -q eza
eza --color=always $fifc_eza_opts $fifc_candidate
else
ls --color=always $fifc_ls_opts $fifc_candidate
end
Expand Down