zsh/exa.zsh
2023-07-12 08:47:40 +02:00

16 lines
334 B
Bash

#! /bin/zsh
# shellcheck shell=bash
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;
exal -T -L $depth $@;
}
alias e='exa -l'
alias ea='exa -la'
alias eg='exa -Gl'
alias et='exat'