Last active
April 6, 2026 20:07
-
-
Save EricZimmerman/4daea8fedd989aa59e854a683aecd057 to your computer and use it in GitHub Desktop.
powershell eza aliases
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # install jetbrains mono font and set in defaults | appearance | |
| # winget install --id DEVCOM.JetBrainsMonoNerdFont | |
| # Recommended to use latest powershell v7 | |
| # you will need to install this the first time as well via 'Install-Module terminal-icons' | |
| Import-Module -Name Terminal-Icons | |
| Set-PSReadLineOption -PredictionViewStyle ListView | |
| Set-PSReadLineOption -PredictionSource history | |
| # install via 'winget install eza-community.eza' | |
| $env:EZA_CONFIG_DIR = "$env:USERPROFILE\.config\eza" | |
| # Then copy this file to ~\.config\eza\theme.yml | |
| # https://github.com/EricZimmerman/dotfiles/blob/main/dot_config/eza/theme.yml | |
| function lsf { eza --icons --group-directories-first @args } | |
| function ld { eza -D --icons=always --color=always } | |
| function lf { eza -f --icons=always --color=always --git-ignore @args } | |
| function ll { eza --icons --group-directories-first -l -b --total-size -g -h @args } | |
| function la { eza -a --color=always --group-directories-first @args } | |
| function lt { eza -aT -L 2 --color=always --group-directories-first @args } | |
| function l. { eza -a | select-string "^\." @args } | |
| Set-Alias -Name ls -Value lsf | |
| #install bat via 'choco install bat' | |
| #this also installs less pager | |
| set-alias -Name cat -value bat | |
| $env:BAT_THEME = "Catppuccin Mocha" | |
| # install via 'winget install starship.starship' | |
| # create ~/.config/starship.toml and use this | |
| # https://github.com/EricZimmerman/dotfiles/blob/main/dot_config/starship.toml | |
| Invoke-Expression (&starship init powershell) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment