Add tre (plus tree alias)

This commit is contained in:
David Morgan 2022-12-02 12:21:36 +00:00
parent a5035cbb1d
commit f65bef69e3
Signed by: djm
GPG Key ID: C171251002C200F2
2 changed files with 4 additions and 0 deletions

View File

@ -58,6 +58,7 @@ in
rlwrap
sd
tealdeer
tre-command
ugrep
uni
w3m

View File

@ -50,6 +50,7 @@
cp = "cp -iv";
mv = "mv -iv";
mkdir = "mkdir -v";
tree = "exa --tree";
pp = "pushbullet push \"Pixel\" link \"\${1}\" \"\${1}\"";
@ -134,6 +135,8 @@
function generate () { gopass generate -s -p $1 $((RANDOM % 14 + 45)) }
tre () { command tre "$@" -e && source "/tmp/tre_aliases_$USER" 2>/dev/null; }
function gcd () {
if [ $# -eq 0 ] ; then
echo "Number of days must be specified" >&2