Add config for mackup

- ignore apps whose config files are in the `dotfiles` repo
  (see: https://gitlab.webartifex.biz/alexander/dotfiles)
- include various (config) files that should not be public:
  + Cisco's AnyConnect
  + history files for `bash`, `less`, `python`, `psql`, `tig`, and `zsh`
  + Nautilus' bookmarks
  + SSH config & known hosts
This commit is contained in:
Alexander Hess 2022-07-27 15:39:06 +02:00
commit 4c6526b1cc
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
9 changed files with 73 additions and 0 deletions

View file

@ -21,6 +21,7 @@ git clone --bare git@git.webartifex.biz:alexander/dotfiles.git "$HOME/.dotfiles"
# Backup old dotfiles
rm -rf "$HOME/.dotfiles.bak" >/dev/null
mkdir -p $HOME/.dotfiles.bak/.config/{bat,flameshot,git,Nextcloud,pop-system-updater,psql,pypoetry,shell} && \
mkdir -p $HOME/.dotfiles.bak/.mackup && \
mkdir -p $HOME/.dotfiles.bak/.vim/{after/ftplugin,backup,swap,undo} && \
mkdir -p $HOME/.dotfiles.bak/.ssh && \
/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME checkout 2>&1 | egrep "\s+\." | awk {'print $1'} | \