How to install eza on Windows and using on powershell? #1450
Unanswered
Salvodif
asked this question in
Q&A, Howto, Help
Replies: 1 comment
-
I haven't found much in the documentation. Here's what I put together, on Windows 10 with PowerShell (7.5.2) and Windows Terminal (already configured for using a NerdFont).
# I like the frost theme with my setup so I copied that file into ~\.config\eza\theme.yml
# This sets the environment variabel so eza loads that theme file.
$env:EZA_CONFIG_DIR = "$env:USERPROFILE\.config\eza"
## Configure `ls` to run `eza --long --icons=auto`
# First delete the existing built-in ls (which is aliased to Get-ChildItem).
del alias:ls
# PowerShell does not allow creating aliases to commands with parameters, instead define a function.
# https://learn.microsoft.com/en-us/powershell/scripting/learn/shell/using-aliases?view=powershell-7.5#creating-alternate-names-for-commands-with-parameters
function ls {
eza --long --icons=auto
}
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a guide on how to install eza and configure it in the best way on windows?
On Fedora I haven't had any complications but getting it working on Windows and also changing the theme I am having quite a few problems
Beta Was this translation helpful? Give feedback.
All reactions