This commit is contained in:
Xavier Logerais 2018-02-20 09:49:28 +01:00
commit 54ad9e6283
3 changed files with 16 additions and 2 deletions

View File

@ -1,5 +1,5 @@
#!/bin/bash #!/bin/bash
if (which ovs-appctl &> /dev/null); then alias appctl='sudo ovs-appctl'; fi 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-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-ofctl &> /dev/null); then alias ofctl='sudo ovs-ofctl'; fi

10
aliases.d/taskwarrior Normal file
View File

@ -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

4
aliases.d/zfs Normal file
View File

@ -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