1 2 3 4 5 6 7 8 9
#!/bin/sh if [ -t 1 ]; then pattern="%p \033[38;5;4m=>\033[m \033[38;5;9m%l\033[m\n" else pattern="%p => %l\n" fi find "${@}" -xtype l -printf "${pattern}"
Consider giving Nix/NixOS a try! <3