Show dconf diff
This commit is contained in:
parent
f19cac4270
commit
2b0836d477
|
@ -116,6 +116,8 @@ alias j='journalctl -xefu'
|
||||||
alias hsearch='hearch'
|
alias hsearch='hearch'
|
||||||
alias d='docker'
|
alias d='docker'
|
||||||
|
|
||||||
|
alias diff='diff -u'
|
||||||
|
|
||||||
alias tmux="tmux attach || tmux"
|
alias tmux="tmux attach || tmux"
|
||||||
|
|
||||||
alias caddyfile="sudo vim /etc/caddy/Caddyfile"
|
alias caddyfile="sudo vim /etc/caddy/Caddyfile"
|
||||||
|
|
|
@ -116,6 +116,8 @@ function getdot {
|
||||||
if command -v scpace &> /dev/null; then
|
if command -v scpace &> /dev/null; then
|
||||||
rm /tmp/dconf-dump
|
rm /tmp/dconf-dump
|
||||||
scp -P 11275 'sage@sagev.space:~/dconf-dump' /tmp/dconf-dump
|
scp -P 11275 'sage@sagev.space:~/dconf-dump' /tmp/dconf-dump
|
||||||
|
dconf-dump > /tmp/current-dconf-dump
|
||||||
|
git --no-pager diff --no-index /tmp/dconf-dump /tmp/current-dconf-dump
|
||||||
dconf load / < /tmp/dconf-dump || return 1
|
dconf load / < /tmp/dconf-dump || return 1
|
||||||
else
|
else
|
||||||
echo "An alias for scpace has not been defined on this device!"
|
echo "An alias for scpace has not been defined on this device!"
|
||||||
|
|
Loading…
Reference in New Issue