From d0dbde3cec9e263f629303f96ae402138fa1b7c7 Mon Sep 17 00:00:00 2001 From: unset Date: Sun, 9 Mar 2025 16:57:08 +0100 Subject: [PATCH] update bashrc --- .bashrc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.bashrc b/.bashrc index 7f2e937..4dacfba 100644 --- a/.bashrc +++ b/.bashrc @@ -27,10 +27,7 @@ alias grep='grep --color=auto' alias diff='diff --color' alias ip='ip -c' -alias home-git="git --git-dir=$HOME/.home-conf.git --work-tree=$HOME" - # application aliases -alias py3='python3' alias ncdu='ncdu --color=dark -t 16' alias hyfetch='hyfetch --ascii-file $HOME/.config/hyfetch-ascii' @@ -39,10 +36,16 @@ alias cp='cp -i' alias mv='mv -i' #alias rm='rm -i' +alias py3='python3' +alias hgit="git --git-dir=$HOME/.home-conf.git --work-tree=$HOME" + +source /usr/share/bash-completion/completions/git +__git_complete hgit __git_main + # opt out of dotnet's telenetry DOTNET_CLI_TELEMETRY_OPTOUT=1 # cute lil hyfetch :3 if [[ $TERM == "xterm-kitty" ]]; then - hyfetch + hyfetch fi