dotfiles/zsh/.zshrc

28 lines
694 B
Bash
Raw Normal View History

2022-05-24 13:32:52 +00:00
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000
setopt appendhistory autocd
unsetopt beep extendedglob notify
bindkey -v
2022-05-24 13:50:47 +00:00
zstyle :compinstall filename '$HOME/.zshrc'
2022-05-24 13:32:52 +00:00
autoload -Uz compinit
compinit
2022-05-24 16:06:52 +00:00
PATH="$HOME/.local/bin:$PATH"
2022-05-24 13:32:52 +00:00
# Global aliases
2022-05-24 13:32:52 +00:00
alias ssh="TERM=xterm ssh"
alias sshpass="ssh -o PubkeyAuthentication=no"
2022-05-24 18:01:20 +00:00
alias k="kubectl"
alias t="tanzu"
2022-06-01 13:20:45 +00:00
alias ll="ls -la"
# Import local aliases from ~/.zshalias, if present
if [ -f $HOME/.zshalias ]; then
source $HOME/.zshalias
fi
2022-05-24 13:32:52 +00:00
# Shell initializations
2022-05-24 13:36:43 +00:00
eval "$(oh-my-posh init zsh --config 'https://raw.githubusercontent.com/jbowdre/dotfiles/main/oh-my-posh/vpotato.minimal.omp.json')"
2022-05-24 13:32:52 +00:00
enable_poshtransientprompt
eval "$(mcfly init zsh)"