dotfiles/files/%HOME/.zshrc

36 lines
852 B
Bash
Raw Normal View History

2022-12-16 14:23:28 +01: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-01-18 07:43:13 +01:00
alias s="title $HOST && cmatrix -rs && clear"
2022-12-16 14:23:28 +01: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-01-16 00:49:52 +01:00
export SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"