1
0

update dotfiles

This commit is contained in:
2025-04-25 17:20:28 +02:00
parent d372b7c89b
commit 7ee84040fa
11 changed files with 436 additions and 0 deletions

View File

@@ -148,3 +148,14 @@ git_push() {
}
alias gpush="git_push"
passgen() {
length=${1:-"12"}
if [[ "$length" == <-> ]]; then
echo $(cat /dev/urandom| base64 | head -c "$length")
else
echo "passgen() takes a positive integer as first argument"
echo "got $length"
return 1
fi
}

View File

@@ -8,6 +8,7 @@ export SAVEHIST=$HISTSIZE
export CLICOLOR=1
export DOTFILES="$HOME/dotfiles"
export K9S_CONFIG_DIR="$HOME/.config/k9s"
# colored GCC warnings and errors
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'