From 772dc05def9d8317dbca82cfb030e8ed10c4bb64 Mon Sep 17 00:00:00 2001 From: caandt Date: Mon, 29 Dec 2025 00:49:08 -0600 Subject: [PATCH] bash completions --- user/config/bash/func | 2 ++ 1 file changed, 2 insertions(+) diff --git a/user/config/bash/func b/user/config/bash/func index 61bf596..5b5e677 100644 --- a/user/config/bash/func +++ b/user/config/bash/func @@ -20,6 +20,7 @@ function show() { echo "$1 doesn't exist" ;; esac } +complete -c show function goto() { if [[ "$#" -ne 1 ]]; then echo "usage: goto " >&2 @@ -30,6 +31,7 @@ function goto() { local real="$(realpath "$path")" cd "${real%/*}" } +complete -c goto function rl() { local l="$1" local i=50