zsh/exa.zsh

22 lines
429 B
Bash
Raw Normal View History

#! /bin/zsh
2023-10-05 10:14:04 +02:00
# SPDX-FileCopyrightText: 2023 Tobias Schmidl
#
# SPDX-License-Identifier: GPL-3.0-or-later
# shellcheck disable=all
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'