Files
dotfiles/zsh/.zshrc

45 lines
1.3 KiB
Bash

# If you come from bash you might have to change your $PATH.
export GOPATH="$HOME/.go"
export PATH=$HOME/.bin:$HOME/var/bin:/usr/local/bin:$PATH:$HOME/.go/bin
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
plugins=(git z fzf asdf direnv yarn)
source $ZSH/oh-my-zsh.sh
# See ~/.aliases for the various aliases seen in here
source "$HOME/.aliases"
newemail () {
curl -X POST --user colin@unbl.ink:$(pass personal/colin@unbl.ink | head -n 1) -d "address=$1@unbl.ink" -d "forwards_to=colin@unbl.ink" https://box.unbl.ink/admin/mail/aliases/add
}
yayup () {
mv ~/.asdf ~/.asdf.bak
yay -S --noconfirm archlinux-keyring endeavouros-keyring
yay -Syu --noconfirm
mv ~/.asdf.bak ~/.asdf
}
eval "$(atuin init zsh)"
local hostname="%{$fg_bold[white]%}%m"
PROMPT="${hostname} ${PROMPT}"
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
## [Completion]
## Completion scripts setup. Remove the following line to uninstall
[[ -f /home/powellc/.dart-cli-completion/zsh-config.zsh ]] && . /home/powellc/.dart-cli-completion/zsh-config.zsh || true
## [/Completion]
export PATH="/home/powellc/.shorebird/bin:$PATH"
export PATH="/home/powellc/.asdf/bin:$PATH"
export ASDF_DATA_DIR="/home/powellc/.asdf"
export PATH="$ASDF_DATA_DIR/shims:$PATH"