update dotfiles
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user