From 361beea62b22c3a8e0ab4b78f7cf361fd33e1d7c Mon Sep 17 00:00:00 2001 From: Jan Andrle Date: Wed, 28 Feb 2024 14:06:02 +0100 Subject: [PATCH] :zap: completition --- .bash/complete-alias | 1 + .bashrc | 1 + .gitmodules | 4 ++++ 3 files changed, 6 insertions(+) create mode 160000 .bash/complete-alias create mode 100644 .gitmodules diff --git a/.bash/complete-alias b/.bash/complete-alias new file mode 160000 index 0000000..7f2555c --- /dev/null +++ b/.bash/complete-alias @@ -0,0 +1 @@ +Subproject commit 7f2555c2fe7a1f248ed2d4301e46c8eebcbbc4e2 diff --git a/.bashrc b/.bashrc index d2ace9c..edfd1c6 100644 --- a/.bashrc +++ b/.bashrc @@ -57,5 +57,6 @@ LAST_PWD_PATH="$(dirname "${BASH_SOURCE[0]}")/.bash_last_pwd" cd(){ builtin cd "$@" && echo `pwd` > "$LAST_PWD_PATH"; } alias gitdotfiles='/usr/bin/git --git-dir="$HOME/.dotfiles/" --work-tree="$HOME"' +complete -F _complete_alias gitdotfiles # termux-setup-storage diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..def9750 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule ".bash/complete-alias"] + path = .bash/complete-alias + url = git@github.com:cykerway/complete-alias.git + branch = master