aboutsummaryrefslogtreecommitdiff
path: root/opt
diff options
context:
space:
mode:
Diffstat (limited to 'opt')
-rwxr-xr-xopt/aux/gen-e-list.sh10
1 files changed, 6 insertions, 4 deletions
diff --git a/opt/aux/gen-e-list.sh b/opt/aux/gen-e-list.sh
index 9aedc56..e47db69 100755
--- a/opt/aux/gen-e-list.sh
+++ b/opt/aux/gen-e-list.sh
@@ -11,9 +11,11 @@ set -eu
$XDG_CONFIG_HOME/nix/configuration.nix
EOF
- find ~/Documents/txt/*.txt ~/Documents/txt/*.md -not -name TODOs.md |
- sed "s|^$HOME|~|" |
- LANG=POSIX.UTF-8 sort
+ find \
+ ~/Documents/txt/*.txt ~/Documents/txt/*.md \
+ -not -name TODOs.md -and \
+ -not -name scratch.txt |
+ LANG=POSIX.UTF-8 sort
cat <<-EOF
~/dev/libre/package-repository/dependencies.dot
@@ -22,4 +24,4 @@ set -eu
$XDG_CONFIG_HOME/guix/channels.scm
$XDG_CONFIG_HOME/lisp-cli/init.lisp
EOF
-} | sed "s|$HOME|~|"
+} | sed "s|^$HOME|~|"