summaryrefslogtreecommitdiffstats
path: root/borg
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2018-07-24 10:41:56 +0200
committerFlorian Pritz <bluewind@xinu.at>2018-07-24 10:41:56 +0200
commit8a819ef6c225cb84579547e935bf485b939cc0db (patch)
tree5b07f8c9e92716f8beb937c0d1c805c61413d50a /borg
parentff08764db7d5396b7ebe7bf78ff9fa0a3c512f30 (diff)
downloadbin-8a819ef6c225cb84579547e935bf485b939cc0db.tar.gz
bin-8a819ef6c225cb84579547e935bf485b939cc0db.tar.xz
borg: Use sudo to get tab completion to work in normal shell
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'borg')
-rwxr-xr-xborg2
1 files changed, 1 insertions, 1 deletions
diff --git a/borg b/borg
index f068327..95aed0d 100755
--- a/borg
+++ b/borg
@@ -1,3 +1,3 @@
#!/bin/bash
-BORG_REPO="backup:borg-$HOSTNAME" exec /usr/bin/borg "$@"
+sudo BORG_REPO="backup:borg-$HOSTNAME" /usr/bin/borg "$@"