Don't use scpace alias.
This commit is contained in:
parent
c857164a09
commit
9005e60661
|
@ -84,7 +84,7 @@ function pushdot {
|
|||
fi
|
||||
if command -v scpace &> /dev/null; then
|
||||
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
|
||||
else
|
||||
echo "An alias for scpace has not been defined on this device!"
|
||||
|
@ -96,7 +96,7 @@ function getdot {
|
|||
cd "$DOT_DIR" || return 1
|
||||
git pull && ./copy.sh
|
||||
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
|
||||
rm /tmp/dconf-dump
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue