dotfiles/nixpkgs/secret/update.sh
2021-12-11 15:29:12 +01:00

3 lines
180 B
Bash
Executable File

#!/usr/bin/env sh
perl -0777 -pi -e '$tree=`exa -I XX* --tree --group-directories-first`; s/<!-- tree-output -->\n```\n(?:.|\n)+```/<!-- tree-output -->\n```\n$tree```/' README.md