diff options
author | EuAndreh <eu@euandre.org> | 2023-02-22 11:49:51 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-02-22 11:49:51 -0300 |
commit | 19270ff5563485318424f263c0763881a6e3aee6 (patch) | |
tree | 648f75302342eca85aa9642da9033dfe82b03946 /opt | |
parent | etc/nix/configuration.nix: Group packages by type (diff) | |
download | dotfiles-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-x | opt/aux/gen-e-list.sh | 10 |
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|~|" |