diff options
author | clyhtsuriva <aimeric@adjutor.xyz> | 2025-01-02 22:20:15 +0100 |
---|---|---|
committer | clyhtsuriva <aimeric@adjutor.xyz> | 2025-01-02 22:20:15 +0100 |
commit | dfcf6807fed73fd3df4750f1531bd227c324501f (patch) | |
tree | c77947ebb16e0f03416c7e940d26e520787e679d /dot_bashrc | |
parent | 70274919e2d27a37a9a604e062a961e2d25f2dfa (diff) |
- 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
Diffstat (limited to 'dot_bashrc')
-rw-r--r-- | dot_bashrc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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)" |