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:
parent
c90705bc62
commit
4c6526b1cc
9 changed files with 73 additions and 0 deletions
|
|
@ -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'} | \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue