Skip to content

Instantly share code, notes, and snippets.

@akarzim
Created March 20, 2018 16:07
Show Gist options
  • Select an option

  • Save akarzim/57cf090edf53acb082ff44d38fcea259 to your computer and use it in GitHub Desktop.

Select an option

Save akarzim/57cf090edf53acb082ff44d38fcea259 to your computer and use it in GitHub Desktop.

Revisions

  1. akarzim created this gist Mar 20, 2018.
    11 changes: 11 additions & 0 deletions exa-aliases.zsh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    alias l='exa -1a' # Lists in one column, hidden files.
    alias ll='exa -l' # Lists human readable sizes.
    alias lr='ll -R' # Lists human readable sizes, recursively.
    alias la='ll -a' # Lists human readable sizes, hidden files.
    alias lm='la | "$PAGER"' # Lists human readable sizes, hidden files through pager.
    alias lx='ll --sort=Extension' # Lists sorted by extension (GNU only).
    alias lk='ll --sort=size -r' # Lists sorted by size, largest last.
    alias lt='ll --sort=modified -r' # Lists sorted by date, most recent last.
    alias lc='lt -m' # Lists sorted by date, most recent last, shows change time.
    alias lu='lt -u' # Lists sorted by date, most recent last, shows access time.
    alias sl='ls' # I often screw this up.