From dfcf6807fed73fd3df4750f1531bd227c324501f Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Thu, 2 Jan 2025 22:20:15 +0100 Subject: Updates bash_profile, bashrc, aliasrc, confgm profile and xprofile - Adds new line in PS1 for more readability when using long paths - Adds nix profile sourcing - Adds kubenetes aliases and autocompletion - Changes tool to display date, volume and battery when pressing the poweroff button - Removes autostarts of unclutter --- dot_bashrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'dot_bashrc') diff --git a/dot_bashrc b/dot_bashrc index 4c6db13..50f53a5 100644 --- a/dot_bashrc +++ b/dot_bashrc @@ -31,9 +31,14 @@ export CARGO_HOME="$XDG_DATA_HOME"/cargo export DOTNET_CLI_HOME="$XDG_DATA_HOME"/dotnet export GDBHISTFILE="$XDG_CONFIG_HOME"/gdb/.gdb_history -PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\w\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" ; export PS1 +PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\w\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\n\\$ \[$(tput sgr0)\]" ; export PS1 [ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" # Rust package manager . "$CARGO_HOME/env" + +# kubernetes autocompletion setup +source <(kubectl completion bash) +complete -o default -F __start_kubectl k +#eval "$(task --completion bash)" -- cgit v1.2.3