dotfiles/.zshrc

43 lines
1.1 KiB
Bash
Raw Normal View History

2022-01-21 11:22:06 -06:00
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
source ~/bin/antigen.zsh
antigen use oh-my-zsh
antigen bundle git
antigen bundle zsh-users/zsh-syntax-highlighting
antigen bundle zsh-users/zsh-autosuggestions
antigen theme romkatv/powerlevel10k
antigen apply
autoload -Uz compinit && compinit
setopt correct
2022-07-01 03:45:27 -05:00
set -o vi
2022-01-21 11:22:06 -06:00
PATH=$PATH:/home/yashkarandikar/bin
2022-05-02 08:54:01 -05:00
PATH=$PATH:/home/yashkarandikar/.local/bin
2022-01-21 11:22:06 -06:00
PATH=$PATH:/home/yashkarandikar/.cargo/bin
autoload -U +X bashcompinit && bashcompinit
2022-06-10 10:07:14 -05:00
alias mosh="mosh --predict=experimental"
2022-06-24 13:28:21 -05:00
alias sys="sudo systemctl"
2022-07-10 12:38:22 -05:00
alias sysu="systemctl --user"
2022-06-10 10:07:14 -05:00
2022-01-21 11:22:06 -06:00
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
2022-05-02 08:54:01 -05:00
#ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=60'
2022-01-21 11:22:06 -06:00
export EDITOR=vim
2022-05-25 21:56:17 -05:00
eval $(thefuck --alias)