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
}