From b92aaee7665e9fbe08efb5e871ccbf41d335b766 Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Fri, 6 Oct 2017 14:36:30 +0200 Subject: [PATCH 1/2] Updated aliases --- aliases.d/openvswitch | 4 ++-- aliases.d/zfs | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 aliases.d/zfs diff --git a/aliases.d/openvswitch b/aliases.d/openvswitch index 9d5fa4a..ffd8c7e 100644 --- a/aliases.d/openvswitch +++ b/aliases.d/openvswitch @@ -1,5 +1,5 @@ #!/bin/bash if (which ovs-appctl &> /dev/null); then alias appctl='sudo ovs-appctl'; fi -if (which ovs-vsctl &> /dev/null); then alias vsctl='sudo ovs-vsctl'; fi -if (which ovs-ofctl &> /dev/null); then alias ofctl='sudo ovs-ofctl'; fi +if (which ovs-vsctl &> /dev/null); then alias vsctl='sudo ovs-vsctl'; fi +if (which ovs-ofctl &> /dev/null); then alias ofctl='sudo ovs-ofctl'; fi diff --git a/aliases.d/zfs b/aliases.d/zfs new file mode 100644 index 0000000..098e855 --- /dev/null +++ b/aliases.d/zfs @@ -0,0 +1,4 @@ +#!/bin/bash + +if (which zfs &> /dev/null); then alias zfs='sudo zfs'; fi +if (which zpool &> /dev/null); then alias zpool='sudo zpool'; fi From 1bd6f80aba4c3a3ea6e074d43ab70aad0ab72ec9 Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Mon, 19 Feb 2018 10:48:19 +0100 Subject: [PATCH 2/2] Added aliases for taskwarrior --- aliases.d/taskwarrior | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 aliases.d/taskwarrior diff --git a/aliases.d/taskwarrior b/aliases.d/taskwarrior new file mode 100644 index 0000000..f61563d --- /dev/null +++ b/aliases.d/taskwarrior @@ -0,0 +1,10 @@ +# Aliases for taskwarrior +# +if (which task &> /dev/null) +then + alias t='task' + alias tl='task list' + alias tc='task completed' + alias td='task done' + alias ts='task sync' +fi