[zsh] Updating aliases for new job

This commit is contained in:
Colin Powell
2026-01-08 15:40:15 -05:00
parent 100900f0d6
commit 6088816b2e
2 changed files with 29 additions and 23 deletions

View File

@ -14,15 +14,15 @@ 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
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
yayup() {
mv ~/.asdf ~/.asdf.bak
yay -S --noconfirm archlinux-keyring endeavouros-keyring
yay -Syu --noconfirm
mv ~/.asdf.bak ~/.asdf
}
local hostname="%{$fg_bold[white]%}%m"
@ -42,5 +42,14 @@ export TERM=xterm-256color
export EDITOR=vim
export VISUAL="$EDITOR"
eval "$(/opt/homebrew/bin/brew shellenv)"
case "$(uname -s)" in
Linux)
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
;;
Darwin)
eval "$(/opt/homebrew/bin/brew shellenv)"
;;
esac
eval "$(direnv hook /bin/zsh)"