diff --git a/nix-conf/home/includes/common.nix b/nix-conf/home/includes/common.nix index 09bbc48..e1f8fac 100644 --- a/nix-conf/home/includes/common.nix +++ b/nix-conf/home/includes/common.nix @@ -58,6 +58,7 @@ in rlwrap sd tealdeer + tre-command ugrep uni w3m diff --git a/nix-conf/home/includes/zsh.nix b/nix-conf/home/includes/zsh.nix index f9a3896..59e8d13 100644 --- a/nix-conf/home/includes/zsh.nix +++ b/nix-conf/home/includes/zsh.nix @@ -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