Skip to content

Instantly share code, notes, and snippets.

@QAInsights
Forked from AppleBoiy/alias_eza.md
Created August 23, 2025 19:07
Show Gist options
  • Save QAInsights/d1ec7647695032ec724226397050ea29 to your computer and use it in GitHub Desktop.
Save QAInsights/d1ec7647695032ec724226397050ea29 to your computer and use it in GitHub Desktop.

Revisions

  1. @AppleBoiy AppleBoiy revised this gist Oct 16, 2023. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions alias_eza.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,13 @@
    ## Put to shell configure file
    ## Alias eza for `ls` command

    ### Put to shell configure file

    first install eza by homebrew
    ```shell
    brew install eza
    ```

    ### Basic setup
    #### Basic setup
    ```.bashrc | .zshrc
    alias ls='eza'
    alias l='eza -lbF --git'
  2. @AppleBoiy AppleBoiy revised this gist Oct 16, 2023. 1 changed file with 15 additions and 17 deletions.
    32 changes: 15 additions & 17 deletions alias_eza.md
    Original file line number Diff line number Diff line change
    @@ -7,31 +7,29 @@ brew install eza

    ### Basic setup
    ```.bashrc | .zshrc
    # general use
    alias ls='eza' # ls
    alias l='eza -lbF --git' # list, size, type, git
    alias ll='eza -lbGF --git' # long list
    alias llm='eza -lbGd --git --sort=modified' # long list, modified date sort
    alias la='eza -lbhHigUmuSa --time-style=long-iso --git --color-scale' # all list
    alias lx='eza -lbhHigUmuSa@ --time-style=long-iso --git --color-scale' # all + extended list
    alias ls='eza'
    alias l='eza -lbF --git'
    alias ll='eza -lbGF --git'
    alias llm='eza -lbGd --git --sort=modified'
    alias la='eza -lbhHigUmuSa --time-style=long-iso --git --color-scale'
    alias lx='eza -lbhHigUmuSa@ --time-style=long-iso --git --color-scale'
    # specialty views
    alias lS='eza -1' # one column, just names
    alias lt='eza --tree --level=2' # tree
    alias lS='eza -1'
    alias lt='eza --tree --level=2'
    alias l.="eza -a | grep -E '^\.'"
    ```
    ### Advance
    ```.bashrc | .zshrc
    # ls to eza
    alias ls='eza --color=always --group-directories-first --icons' # ls
    alias ls='eza --color=always --group-directories-first --icons'
    alias ll='eza -la --icons --octal-permissions --group-directories-first'
    alias l='eza -bGF --header --git --color=always --group-directories-first --icons' # long list
    alias llm='eza -lbGd --header --git --sort=modified --color=always --group-directories-first --icons' # long list, modified date sort
    alias l='eza -bGF --header --git --color=always --group-directories-first --icons'
    alias llm='eza -lbGd --header --git --sort=modified --color=always --group-directories-first --icons'
    alias la='eza --long --all --group --group-directories-first'
    alias lx='eza -lbhHigUmuSa@ --time-style=long-iso --git --color-scale --color=always --group-directories-first --icons' # all + extended list
    alias lx='eza -lbhHigUmuSa@ --time-style=long-iso --git --color-scale --color=always --group-directories-first --icons'
    # ls to eza - modalità speciali
    alias lS='eza -1 --color=always --group-directories-first --icons' # one column, just names
    alias lt='eza --tree --level=2 --color=always --group-directories-first --icons' # tree
    alias lS='eza -1 --color=always --group-directories-first --icons'
    alias lt='eza --tree --level=2 --color=always --group-directories-first --icons'
    alias l.="eza -a | grep -E '^\.'"
    ```
    then source
  3. @AppleBoiy AppleBoiy revised this gist Oct 16, 2023. No changes.
  4. @AppleBoiy AppleBoiy created this gist Oct 16, 2023.
    40 changes: 40 additions & 0 deletions alias_eza.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,40 @@
    ## Put to shell configure file

    first install eza by homebrew
    ```shell
    brew install eza
    ```

    ### Basic setup
    ```.bashrc | .zshrc
    # general use
    alias ls='eza' # ls
    alias l='eza -lbF --git' # list, size, type, git
    alias ll='eza -lbGF --git' # long list
    alias llm='eza -lbGd --git --sort=modified' # long list, modified date sort
    alias la='eza -lbhHigUmuSa --time-style=long-iso --git --color-scale' # all list
    alias lx='eza -lbhHigUmuSa@ --time-style=long-iso --git --color-scale' # all + extended list
    # specialty views
    alias lS='eza -1' # one column, just names
    alias lt='eza --tree --level=2' # tree
    ```
    ### Advance
    ```.bashrc | .zshrc
    # ls to eza
    alias ls='eza --color=always --group-directories-first --icons' # ls
    alias ll='eza -la --icons --octal-permissions --group-directories-first'
    alias l='eza -bGF --header --git --color=always --group-directories-first --icons' # long list
    alias llm='eza -lbGd --header --git --sort=modified --color=always --group-directories-first --icons' # long list, modified date sort
    alias la='eza --long --all --group --group-directories-first'
    alias lx='eza -lbhHigUmuSa@ --time-style=long-iso --git --color-scale --color=always --group-directories-first --icons' # all + extended list
    # ls to eza - modalità speciali
    alias lS='eza -1 --color=always --group-directories-first --icons' # one column, just names
    alias lt='eza --tree --level=2 --color=always --group-directories-first --icons' # tree
    alias l.="eza -a | grep -E '^\.'"
    ```
    then source
    ``` shell
    source ~/.zshrc #or .bashrc for bash shell
    ```