From f9558179ed206b8abe2fa1166d5922dc13c8e4f5 Mon Sep 17 00:00:00 2001 From: David Gamba Date: Sat, 25 Mar 2023 22:19:14 -0600 Subject: [PATCH] Add completion script --- sourceme.bash | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 sourceme.bash diff --git a/sourceme.bash b/sourceme.bash new file mode 100644 index 0000000..6a789a8 --- /dev/null +++ b/sourceme.bash @@ -0,0 +1,8 @@ +#!/bin/bash + +# Remove existing entries to ensure the right one is loaded +# This is not required when the completion one liner is loaded in your bashrc. +complete -r ./go-wardley 2>/dev/null + +# Requires that the go-wardley binary is in your PATH +complete -o default -C go-wardley go-wardley