33 lines
756 B
Bash
33 lines
756 B
Bash
export GPG_TTY=$(tty)
|
|
source ~/.zsh_preferences
|
|
|
|
# paths
|
|
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
|
|
|
|
if [ $_ZSH_PREF_NO_NONSENSE != 1 ]; then
|
|
# 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
|
|
|
|
source ~/.zsh_scripts
|
|
|
|
# ALIASES
|
|
alias open="xdg-open"
|
|
alias nobeep="sudo modprobe -r pcspkr"
|
|
alias bl="sudo light -S"
|
|
alias kssh="kitty +kitten ssh"
|
|
alias get_idf='. $HOME/esp/esp-idf/export.sh'
|
|
alias get_rust='. $HOME/.cargo/env'
|
|
|
|
# COSMETICS
|
|
if [ $_ZSH_PREF_NO_PFETCH != 1 ]; then pfetch; fi
|
|
|
|
else
|
|
PS1="$(whoami)@$(cat /etc/hostname) $ "
|
|
fi
|
|
|
|
alias q="exit"
|
|
export PATH="${PATH}:/home/${USER}/.local/bin"
|