Skip to content

Instantly share code, notes, and snippets.

@akarzim
Created March 20, 2018 16:07
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save akarzim/57cf090edf53acb082ff44d38fcea259 to your computer and use it in GitHub Desktop.
Save akarzim/57cf090edf53acb082ff44d38fcea259 to your computer and use it in GitHub Desktop.
Exa ZSH aliases
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.
@adityamwagh
Copy link

Thanks for posting it. Saved me a lot of effort. 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment