40 lines
No EOL
901 B
Bash
40 lines
No EOL
901 B
Bash
export GPG_TTY=$(tty)
|
|
|
|
# paths
|
|
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
|
|
|
|
# ZSH
|
|
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 nobeep="sudo modprobe -r pcspkr"
|
|
alias s="title $HOST && cmatrix -rs && clear"
|
|
alias q="exit"
|
|
|
|
update_dotfiles() {
|
|
cd $HOME/.dotfiles
|
|
git pull
|
|
cd - &> /dev/null
|
|
}
|
|
alias udf="update_dotfiles"
|
|
|
|
0file() { curl -F"file=@$1" {0} ; }
|
|
0pb() { curl -F"file=@-;" https://envs.sh ; }
|
|
0url() { curl -F"url=$1" https://envs.sh ; }
|
|
0short() { curl -F"shorten=$1" https://envs.sh ; }
|
|
|
|
|
|
export PATH="${PATH}:/home/${USER}/.local/bin"
|
|
|
|
# pnpm
|
|
export PNPM_HOME="/home/raine/.local/share/pnpm"
|
|
case ":$PATH:" in
|
|
*":$PNPM_HOME:"*) ;;
|
|
*) export PATH="$PNPM_HOME:$PATH" ;;
|
|
esac
|
|
# pnpm end |