From b8d698777f78f3731b7760a66f3634fd5b7bf5ae Mon Sep 17 00:00:00 2001 From: Felix Nehrke Date: Sat, 16 Aug 2025 12:37:02 +0200 Subject: [PATCH] Ensure my beloved alias g for goto --- .bashrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.bashrc b/.bashrc index 9525547..8c56354 100644 --- a/.bashrc +++ b/.bashrc @@ -101,6 +101,10 @@ which brew &> /dev/null && . "$(brew --prefix)/etc/bash_completion" __git_complete config __git_main __git_complete c __git_main +# load goto alias (isn't looaded for alias by bash-completion, don't know why) +[ -e "$__bash_completion_dir/goto" ] && . "$__bash_completion_dir/goto" +unset __bash_completion_dir + # reboot required notice [ -f /var/run/reboot-required ] && (>&2 echo -e "\n\033[01;31mReboot required to apply updates"'!'"\033[0m\n")