1 #!/bin/bash 2 3 printf '%s %s\n' $(nerdfonts) | 4 menu -i nerdfonts -l 20 | 5 cut -d ' ' -f 1 | tr -d \\n | xsel -ib