aboutsummaryrefslogtreecommitdiffstats
path: root/bashrc
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2023-03-30 11:15:05 +0100
committerMatthew Lemon <y@yulqen.org>2023-03-30 11:15:05 +0100
commit4168e8582c4361020ed4725cd623fc494942db63 (patch)
treed7aad7e45a1136c2f1e14b24f636a09db03d80de /bashrc
parent22b8234f626a75c0caf044724f21a26623db6cc1 (diff)
ensured bash completion for t alias for todo.sh
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index 729264e..c36c3e2 100644
--- a/bashrc
+++ b/bashrc
@@ -41,6 +41,10 @@ export=GPG_TTY="$(tty)"
export=SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
gpgconf --launch gpg-agent
+#completion for todo.sh
+source ~/Documents/Notes/todo/todo_completion
+complete -o default -o nospace -F _todo t
+
# Functions
todj () {
if [[ "$1" = "-v" ]]; then