Exa and icon fonts in Arch Linux
source link: https://www.lorenzobettini.it/2023/02/exa-and-icon-fonts-in-arch-linux/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Exa and icon fonts in Arch Linux
I finally took the time to try exa, “a modern replacement for ls”.
This is a brief article for installing exa in Arch Linux with an additional package for the icon fonts (in a few installations, boxes were shown instead of icons, that’s why I’m writing this blog article, hoping to save you some time).
Installing exa in Arch is just a matter of running:
sudo pacman -S exa |
However, you need a “Nerd” font to get the icon symbols. This is the one I install:
sudo pacman -S ttf-arimo-nerd |
In EndeavourOS KDE, this should already be installed. I seem to understand that this is not the case for EndeavourOS GNOME. If these fonts are not installed, you can install them with the command above and make sure to reboot.
The output is excellent, and I aliased many of my previous ls commands to exa:
alias l='exa -lah --color=always --group-directories-first --icons' # with headers alias la='exa -al --color=always --group-directories-first --icons' # all files and dirs alias ll='exa -l --color=always --group-directories-first --icons' # long format |
This is the beautiful colored output you get, and note the icons for directories and known files types in Gnome (in particular, a “cup of coffee” for Java files):
The same holds for KDE:
I also have another alias for the tree output of exa:
alias lt='exa -aT --color=always --group-directories-first --icons' # tree listing |
Note the “–git-ignore” command line argument to ask exa to skip all the files that match the patterns in the current “.gitignore” file.
Beautiful, isn’t it?
Like this:
Related
Recommend
-
4
Installing, Configuring and Customizing Arch Linux Submitted by NanoDano on Fri, 07/12/2013 - 15:59 Arch Linux is a great dis...
-
13
为什么我在 Linux 上使用 exa 而不是 ls? | Linux 中国exa 是一个 Linux ls 命令的现代替代品。来源:https://l...
-
9
We live in a busy world and can save time and effort by using the ls command when we need to look for files and data. But without a lot of tweaking, the default ls output isn't quite soothing to the eyes. W...
-
7
这个简单的 ls 命令列出目录的内容十分方便,但是直到我发现 exa 之前从来没想过会有命令能替代它。来源:https://linux.cn/article-...
-
6
Matthew Miner Scalable Icons in Unity with Icon Fonts December 23, 2021 Need scalable icons...
-
40
GlyphSearch: Improving the Search for Icon Fonts Right now we’re blessed with many, well, awesome icon fonts that continue to grow with every release, like Font Awesome...
-
5
Ditching Icon Fonts for SVG Full Stack Radio
-
10
Timeshift and grub-btrfs in Linux Arch Leave a reply
-
5
Snapper and grub-btrfs in Arch Linux Leave a reply
-
3
Icon transcendence: customizing icons to complement fontsMay 3, 2023
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK