Don't use scpace alias.

This commit is contained in:
Sage Vaillancourt 2024-02-17 14:19:30 -05:00
parent c857164a09
commit 9005e60661
1 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ function pushdot {
fi fi
if command -v scpace &> /dev/null; then if command -v scpace &> /dev/null; then
dconf dump / > /tmp/dconf-dump || return 1 dconf dump / > /tmp/dconf-dump || return 1
scpace /tmp/dconf-dump 'sage@sagev.space:~/dconf-dump' scp -P 11275 /tmp/dconf-dump 'sage@sagev.space:~/dconf-dump'
rm /tmp/dconf-dump rm /tmp/dconf-dump
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!"
@ -96,7 +96,7 @@ function getdot {
cd "$DOT_DIR" || return 1 cd "$DOT_DIR" || return 1
git pull && ./copy.sh git pull && ./copy.sh
if command -v scpace &> /dev/null; then if command -v scpace &> /dev/null; then
scpace 'sage@sagev.space:~/dconf-dump' /tmp/dconf-dump scp -P 11275 'sage@sagev.space:~/dconf-dump' /tmp/dconf-dump
dconf load / < /tmp/dconf-dump || return 1 dconf load / < /tmp/dconf-dump || return 1
rm /tmp/dconf-dump rm /tmp/dconf-dump
else else