Skip to content

Instantly share code, notes, and snippets.

@hemedani
Created July 28, 2022 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hemedani/ccdd25e723ac4d2daaf4db404bf78767 to your computer and use it in GitHub Desktop.
Save hemedani/ccdd25e723ac4d2daaf4db404bf78767 to your computer and use it in GitHub Desktop.
list command with exa in fish shell
function la --wraps=ls --wraps=exa --description 'List contents of directory using exa tree'
exa --grid --icons -a --long --header --accessed --git $argv
end
function ll --wraps=ls --wraps=exa --description 'List contents of directory using exa grid'
exa --tree --level=1 --long --header --accessed --git $argv
end
function lla --wraps=ls --wraps=exa --description 'List contents of directory using exa grid'
exa --tree --level=1 -a --long --header --accessed --git $argv
end
function ll2 --wraps=ls --wraps=exa --description 'List contents of directory using exa grid'
exa --tree --level=2 -a --long --header --accessed --git $argv
end
function llll --wraps=ls --wraps=exa --description 'List contents of directory using exa grid'
exa --tree --level=3 -a --long --header --accessed --git $argv
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment