#!/bin/zsh # Raine's .zshrc export GPG_TTY=$(tty) export PATH="$PATH:$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$HOME/.local/bin" export ZSH="$HOME/.oh-my-zsh" ZSH_THEME="afowler" plugins=(git docker docker-compose node zsh-autosuggestions zsh-syntax-highlighting) source $ZSH/oh-my-zsh.sh # ALIASES alias open="xdg-open" alias s="title $HOST && cmatrix -rs && clear" alias q="exit" update_dotfiles() { cd $HOME/.dotfiles git pull cd - &> /dev/null } alias udf="update_dotfiles" function share_cdn() { if ! [ -f "$1" ]; then echo "file needs to exist" return 1 fi scp $1 keymaker:/usr/share/cdn/random/$2 > /dev/null echo "https://cdn.ixvd.net/random/${2:-$(basename $1)}" }