Updated emborg configs, and zshrc
This commit is contained in:
parent
b61784052e
commit
eee3bbd643
7 changed files with 117 additions and 4 deletions
|
@ -5,6 +5,7 @@ src_dirs = '''
|
|||
|
||||
excludes = '''
|
||||
~/tmp
|
||||
~/Music
|
||||
~/Library/Application Support/Steam
|
||||
~/Library/Application Support/Google
|
||||
~/Library/Application Support/LogMeInInc
|
|
@ -14,6 +14,7 @@ excludes = '''
|
|||
~/.firestorm_x64.new
|
||||
~/.local/share/fonts
|
||||
~/.local/share/Steam
|
||||
~/.steam/steam/steamapps
|
||||
~/**/__pycache__
|
||||
~/**/*.pyc
|
||||
~/**/.*.swp
|
32
.config/emborg/passport##os.Darwin,h.ragnarok
Normal file
32
.config/emborg/passport##os.Darwin,h.ragnarok
Normal file
|
@ -0,0 +1,32 @@
|
|||
#src_dirs = '~'.split() # absolute path to directory to be backed up
|
||||
passphrase = 'aiwei0pu4Iev0Ies4aeheim9ahmeQuec'
|
||||
encryption = 'repokey'
|
||||
repository = '/Volumes/Passport/macOS/borg'
|
||||
|
||||
src_dirs = '''
|
||||
~
|
||||
'''.split()
|
||||
|
||||
excludes = '''
|
||||
~/tmp
|
||||
~/Music
|
||||
~/Library/Application Support/Steam
|
||||
~/Library/Application Support/Google
|
||||
~/Library/Application Support/LogMeInInc
|
||||
~/Library/Application Support/Code
|
||||
~/Library/Application Support/Firefox
|
||||
~/Library/Containers
|
||||
~/Library/Group Containers
|
||||
~/Library/Logs
|
||||
~/Library/Python
|
||||
~/Library/Caches
|
||||
~/.cache
|
||||
~/.mozilla
|
||||
~/.config/google-chrome
|
||||
~/.config/BraveSoftware
|
||||
~/**/__pycache__
|
||||
~/**/*.pyc
|
||||
~/**/.*.swp
|
||||
~/**/.*.swo
|
||||
'''.split()
|
||||
|
26
.config/emborg/passport##os.Linux,h.loki
Normal file
26
.config/emborg/passport##os.Linux,h.loki
Normal file
|
@ -0,0 +1,26 @@
|
|||
#src_dirs = '~'.split() # absolute path to directory to be backed up
|
||||
passphrase = 'aiwei0pu4Iev0Ies4aeheim9ahmeQuec'
|
||||
encryption = 'repokey'
|
||||
repository = '/run/media/psi-jack/Passport/psi-jack/borg'
|
||||
|
||||
src_dirs = '''
|
||||
~
|
||||
'''.split()
|
||||
|
||||
excludes = '''
|
||||
~/tmp
|
||||
~/Music
|
||||
~/bin/sl
|
||||
~/.cache
|
||||
~/.mozilla
|
||||
~/.config/google-chrome
|
||||
~/.config/BraveSoftware
|
||||
~/.firestorm_x64
|
||||
~/.local/share/fonts
|
||||
~/.local/share/Steam
|
||||
~/**/__pycache__
|
||||
~/**/*.pyc
|
||||
~/**/.*.swp
|
||||
~/**/.*.swo
|
||||
'''.split()
|
||||
|
31
.config/emborg/passport##os.Linux,h.midgaard
Normal file
31
.config/emborg/passport##os.Linux,h.midgaard
Normal file
|
@ -0,0 +1,31 @@
|
|||
#src_dirs = '~'.split() # absolute path to directory to be backed up
|
||||
passphrase = 'aiwei0pu4Iev0Ies4aeheim9ahmeQuec'
|
||||
encryption = 'repokey'
|
||||
repository = '/run/media/psi-jack/Passport/psi-jack/borg'
|
||||
|
||||
src_dirs = '''
|
||||
~
|
||||
/mnt/storage/psi-jack
|
||||
'''.split()
|
||||
|
||||
excludes = '''
|
||||
~/tmp
|
||||
~/Music
|
||||
~/bin/sl
|
||||
~/.cache
|
||||
~/.mozilla
|
||||
~/.config/google-chrome
|
||||
~/.config/BraveSoftware
|
||||
~/.firestorm_x64
|
||||
~/.local/share/fonts
|
||||
~/.local/share/Steam
|
||||
~/**/__pycache__
|
||||
~/**/*.pyc
|
||||
~/**/.*.swp
|
||||
~/**/.*.swo
|
||||
/mnt/storage/psi-jack/Backups
|
||||
/mnt/storage/psi-jack/Music
|
||||
/mnt/storage/psi-jack/Downloads
|
||||
/mnt/storage/psi-jack/ISOs
|
||||
'''.split()
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
# These settings are common to all configurations
|
||||
|
||||
# configurations
|
||||
configurations = 'macos'
|
||||
default_configuration = 'macos'
|
||||
configurations = 'home passport'
|
||||
default_configuration = 'home'
|
||||
|
||||
# passcode
|
||||
# specify either passphrase or avendesora_account
|
26
.zshrc
26
.zshrc
|
@ -128,11 +128,33 @@ typeset -U PATH
|
|||
PATH="$HOME/bin:$HOME/.local/bin:$PATH"
|
||||
export PATH
|
||||
|
||||
|
||||
# Portable alternative to readlink -f
|
||||
zpath() { cd -P . || return
|
||||
_out() { printf "%s$_zdlm\n" "$PWD/${1##*/}"; }
|
||||
_cd() { cd -P "$1" ; } >/dev/null 2>&1
|
||||
while [ $# -gt 0 ] && _cd .
|
||||
do if _cd "$1"
|
||||
then _out
|
||||
elif ! [ -L "$1" ] && [ -e "$1" ]
|
||||
then _cd "${1%/*}"; _out "$1"
|
||||
elif [ -L "$1" ]
|
||||
then ( while set -- "${1%?/}"; _cd "${1%/*}"; [ -L "${1##*/}" ]
|
||||
do set " $1" "$(_cd -; ls -nd -- "$1"; echo /)"
|
||||
set -- "${2#*"$1" -> }"
|
||||
done; _out "$1"
|
||||
); else ( PS4=ERR:\ NO_SUCH_PATH; set -x; : "$1" )
|
||||
fi; _cd -; shift; done
|
||||
unset -f _out _cd; unset -v _zdlm
|
||||
}
|
||||
|
||||
# Include local functions/aliases/environments:
|
||||
while read f
|
||||
do
|
||||
source "$f"
|
||||
done < <(find "${HOME}/.local/dotfiles/" -type f -name '*.zsh')
|
||||
if [[ -f "$(zpath "$f")" ]]; then
|
||||
source "$f"
|
||||
fi
|
||||
done < <(find "${HOME}/.local/dotfiles/" -name '*.zsh')
|
||||
|
||||
# Disable Ctrl+S Scroll-Locking
|
||||
stty -ixon
|
||||
|
|
Loading…
Reference in a new issue