config/yadm: add unignore list

This commit is contained in:
xeruf 2021-06-05 20:28:35 +02:00
parent 050f91b90c
commit 856ab182aa
2 changed files with 8 additions and 2 deletions

View File

@ -1,9 +1,9 @@
# Tools
alias g="git"
alias bfg="java -jar $HOME/daten/applications/bfg-1.13.0.jar"
alias magit='nvim -c MagitOnly'
y() {
unignore="$XDG_CONFIG_HOME/yadm/unignore"
test -r "$unignore" && cat "$unignore" | envsubst | yadm add --intent-to-add --pathspec-from-file=-
test "$#" -eq 0 && yadm s || yadm "$@"
}
yc() {

6
.config/yadm/unignore Normal file
View File

@ -0,0 +1,6 @@
$XDG_CONFIG_HOME/yadm
$XDG_CONFIG_HOME/doom
$XDG_CONFIG_HOME/git
$XDG_CONFIG_HOME/nvim
$CONFIG_SHELLS
$HOME/.local/bin/scripts