this repo has no description

.config/fish/functions: add treefd

+16
+16
private_dot_config/private_fish/functions/treefd.fish
··· 1 + function treefd --wraps fd 2 + if not command -sq fd 3 + echo "fd is not installed" 4 + return 1 5 + end 6 + if not command -sq as-tree 7 + echo "as-tree is not installed" 8 + return 1 9 + end 10 + 11 + set -l fd_args $argv 12 + if test (count $fd_args) -eq 0 13 + set fd_args "." 14 + end 15 + fd $fd_args | as-tree 16 + end