aboutsummaryrefslogtreecommitdiff
path: root/opt
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-10-19 12:47:14 -0300
committerEuAndreh <eu@euandre.org>2022-10-19 12:47:14 -0300
commite5fb1012c99b241835b46655cda27d3eff481150 (patch)
tree422d460c8beb00131415416741e12eff58517f2c /opt
parentetc/sh/rc: Move creation of common-lisp/source to Makefile (diff)
downloaddotfiles-e5fb1012c99b241835b46655cda27d3eff481150.tar.gz
dotfiles-e5fb1012c99b241835b46655cda27d3eff481150.tar.xz
etc/sh/rc: Move generation of GPG/SSH public keys and e.list.txt to Makefile
Diffstat (limited to 'opt')
-rwxr-xr-xopt/aux/gen-e-list.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/opt/aux/gen-e-list.sh b/opt/aux/gen-e-list.sh
new file mode 100755
index 0000000..aa0951a
--- /dev/null
+++ b/opt/aux/gen-e-list.sh
@@ -0,0 +1,24 @@
+#!/bin/sh
+set -eu
+
+{
+ cat <<-EOF
+ ~/Documents/txt/TODOs.md
+ ~/Documents/txt/scratch.txt
+ $XDG_CONFIG_HOME/sh/rc
+ $XDG_CONFIG_HOME/guix/home.scm
+ $XDG_CONFIG_HOME/guix/system.scm
+ EOF
+
+ find ~/Documents/txt/*.txt ~/Documents/txt/*.md -not -name TODOs.md |
+ sed "s|^$HOME|~|" |
+ LANG=POSIX.UTF-8 sort
+
+ cat <<-EOF
+ ~/dev/libre/package-repository/dependencies.dot
+ ~/dev/others/dinheiros/dinheiros.ledger
+ ~/dev/libre/dotfiles/sh/fake-symlinks.sh
+ $XDG_CONFIG_HOME/guix/channels.scm
+ $XDG_CONFIG_HOME/lisp-cli/init.lisp
+ EOF
+} | sed "s|$HOME|~|"