33 lines
708 B
Bash
33 lines
708 B
Bash
export PATH=~/.bin:$PATH
|
|
export PATH=~/.cargo/bin:$PATH
|
|
|
|
export ZSH=~/.zsh/oh-my-zsh
|
|
export ZSH_HOSTNAME='sm'
|
|
ZSH_THEME="bw"
|
|
HIST_STAMPS="yyyy/mm/dd"
|
|
plugins=(
|
|
zsh-autosuggestions
|
|
git
|
|
)
|
|
source $ZSH/oh-my-zsh.sh
|
|
|
|
ulimit -S -n 24000
|
|
|
|
antivir() {
|
|
printf 'scanning for viruses' && sleep 1 && printf '.' && sleep 1 && printf '.' && sleep 1 && printf '.' &&
|
|
sleep 1 && echo '\nyour computer is safe!'
|
|
}
|
|
|
|
eval "$(rbenv init -)"
|
|
eval "$(pyenv init -)"
|
|
eval "$(direnv hook zsh)"
|
|
eval "$(op completion zsh)"; compdef _op op
|
|
|
|
# //S/M
|
|
|
|
sshn() {
|
|
ssh "$(tr '.' ' ' <<< "$1" | tac -s ' ' | xargs | tr ' ' '.').smhss.de"
|
|
}
|
|
pingn() {
|
|
ping "$(tr '.' ' ' <<< "$1" | tac -s ' ' | xargs | tr ' ' '.').smhss.de"
|
|
}
|