aboutsummaryrefslogtreecommitdiff
path: root/opt
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-02-22 11:49:51 -0300
committerEuAndreh <eu@euandre.org>2023-02-22 11:49:51 -0300
commit19270ff5563485318424f263c0763881a6e3aee6 (patch)
tree648f75302342eca85aa9642da9033dfe82b03946 /opt
parentetc/nix/configuration.nix: Group packages by type (diff)
downloaddotfiles-19270ff5563485318424f263c0763881a6e3aee6.tar.gz
dotfiles-19270ff5563485318424f263c0763881a6e3aee6.tar.xz
opt/aux/gen-e-list.sh: Remove duplicate entries of scratch.txt
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|~|"