~idmyn/dotfiles

85e9d1f5033d0c09d6c05f14badbce00e34db2ec — David Mynors 25 days ago 059314a
Update backup script exclusions, terminal colors
3 files changed, 19 insertions(+), 17 deletions(-)

M backup.sh
M kitty/kitty.conf
M shell/elvish/rc.elv
M backup.sh => backup.sh +16 -14
@@ 11,20 11,22 @@ echo "Beginning backup at $(date)" >> "$LOGFILE"

. .backup.env

/usr/local/bin/restic backup ~     \
    --exclude="**/node_modules"    \
    --exclude="${HOME}/desk"       \
    --exclude="${HOME}/files"      \
    --exclude="${HOME}/.asdf"      \
    --exclude="${HOME}/.Trash"     \
    --exclude="${HOME}/Library"    \
    --exclude="${HOME}/Desktop"    \
    --exclude="${HOME}/Documents"  \
    --exclude="${HOME}/Pictures"   \
    --exclude="${HOME}/Public"     \
    --exclude="${HOME}/Movies"     \
    --exclude="${HOME}/Music"      \
    --exclude="${HOME}/Tresors"    \
/usr/local/bin/restic backup ~       \
    --exclude="**/node_modules"      \
    --exclude="${HOME}/desk"         \
    --exclude="${HOME}/files"        \
    --exclude="${HOME}/.asdf"        \
    --exclude="${HOME}/.emacs.d"     \
    --exclude="${HOME}/.Trash"       \
    --exclude="${HOME}/Library"      \
    --exclude="${HOME}/Desktop"      \
    --exclude="${HOME}/Documents"    \
    --exclude="${HOME}/Applications" \
    --exclude="${HOME}/Pictures"     \
    --exclude="${HOME}/Public"       \
    --exclude="${HOME}/Movies"       \
    --exclude="${HOME}/Music"        \
    --exclude="${HOME}/Tresors"      \
    >> "$LOGFILE" 2>&1

printf "\n*******************************************************\n\n" >> "$LOGFILE"

M kitty/kitty.conf => kitty/kitty.conf +2 -2
@@ 18,11 18,11 @@ color6                          #099
color7                          #bbb
color8                          #999
color9                          #f99
color10                         #9f9
color10                         #090
color11                         #ff9
color12                         #99f
color13                         #f9f
color14                         #9ff
color14                         #099
color15                         #fff
foreground                      #111
background                      #fffff8

M shell/elvish/rc.elv => shell/elvish/rc.elv +1 -1
@@ 55,7 55,7 @@ fn k { kubectl }
fn b [@a]{ buku --suggest --colors aaeca --db $E:HOME"/.config/cloud/bookmarks.db" $@a }
fn gs [@a]{ git status $@a }
fn gb [@a]{ git branch $@a }
fn ls [@a]{ echo; exa -F -I 'Desktop|Documents|Downloads|Library|Movies|Music|Pictures|Public|Tresors' $@a }
fn ls [@a]{ echo; exa -F -I 'Applications|Desktop|Documents|Downloads|Library|Movies|Music|Pictures|Public|Tresors' $@a }
fn la [@a]{ ls -a $@a }
fn ll [@a]{ ls -alh $@a }
fn cd [@a]{ cd $@a; la }