commit 607e600960de2d950919eef081230f993a40265b
parent b7009ea2351ed620a5ce9afab6a58d302e23e68a
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Mon, 4 Nov 2019 13:45:13 -0500
conf: more documentation stuff
Former-commit-id: d55e6f455a2d48802925a9ca5a6fee05b43cd2d8
Diffstat:
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/dot.map b/dot.map
@@ -16,14 +16,17 @@
# -- script1.vim: ~/.vim/autoload/script1.vim
# -- script2.vim: ~/.vim/autoload/script2.vim
# tmux/tmux.conf: ~/.tmux.conf
+# ghci: ~/.ghci
#
# Get parsed as:
# vim/vimrc => ~/.vimrc
# vim/autoload/script1.vim => ~/.vim/autoload/script1.vim
# vim/autoload/script2.vim => ~/.vim/autoload/script2.vim
# tmux/tmux.conf => ~/.tmux.conf
+# ghci => ~/.ghci
#
-# (the arrows show the symbolic links)
+# (the arrows "x => y" mean "the symbolic link to x is y" or "y points to x",
+# this order is different from that in "ln" but I find this more intuitive)
# When linking/unlinking, names don't have to be complete.
# You can also just provide the name of the top directory, conf will figure out the rest.
diff --git a/scripts/conf b/scripts/conf
@@ -158,6 +158,7 @@ while (( "$#" )); do
-l|--list)
parse_mapfile "./${mapfile}"
echo "Mappings (from $(realpath ${mapfile})):"
+ echo "(format: source => destination)"
list_mappings
exit 0
;;