zsh/exa.zsh

17 lines
334 B
Bash
Raw Normal View History

#! /bin/zsh
# shellcheck shell=bash
2022-03-07 13:41:02 +01:00
alias exa='exa -FHhg@ --git --binary --time-style long-iso'
alias exal='exa -l'
function exat() {
[[ "$1" != <-> ]] && { echo "Usage: exat <depth> [path]"; exit 1 };
depth="$1";
shift;
2019-01-09 15:51:05 +01:00
exal -T -L $depth $@;
}
alias e='exa -l'
alias ea='exa -la'
alias eg='exa -Gl'
2019-01-09 15:51:05 +01:00
alias et='exat'