dotfiles/files/home/.zshrc

36 lines
852 B
Bash
Raw Normal View History

2023-10-14 22:38:03 +02:00
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'
2023-10-14 22:38:06 +02:00
alias s="title $HOST && cmatrix -rs && clear"
2023-10-14 22:38:03 +02:00
# 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"
2023-10-14 22:38:06 +02:00
export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"