summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-01-02 12:21:19 +0000
committerSean Whitton <spwhitton@spwhitton.name>2020-01-02 12:21:19 +0000
commit30ff26331ef9ab9e082485e38755140ab92c659b (patch)
tree536dd612546543db4640b1955ac0e5068606311a
parentc10ecbbbeb11abbdfed52f02827f9267928ec803 (diff)
downloaddotfiles-30ff26331ef9ab9e082485e38755140ab92c659b.tar.gz
make a2ac a script so it can be used from dired
-rw-r--r--.bashrc1
-rwxr-xr-xbin/a2ac3
2 files changed, 3 insertions, 1 deletions
diff --git a/.bashrc b/.bashrc
index 56e910b5..72811ecf 100644
--- a/.bashrc
+++ b/.bashrc
@@ -55,7 +55,6 @@ alias whitenoise="echo -en \"\033]0;whitenoise\a\";\
cvlc --quiet --loop ~/lib/annex/doc/sounds/R*.ogg"
# useful to check whether a rebase introduced any changes to files
alias rld="git diff @{1}..@{0}"
-alias a2ac="annex-to-annex --commit"
alias athvpn="sshuttle -r athena 0/0 --dns"
alias host-suite-build-deps='mk-build-deps -ir -s sudo -t \
diff --git a/bin/a2ac b/bin/a2ac
new file mode 100755
index 00000000..4e402022
--- /dev/null
+++ b/bin/a2ac
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+annex-to-annex --commit "$@"