dot_files/.zshrc

45 lines
1019 B
Bash
Raw Permalink Normal View History

2024-03-18 10:51:30 +00:00
## OMZ CONFIG
export ZSH="$HOME/.oh-my-zsh"
# Caution: this setting can cause issues with multiline prompts in zsh < 5.7.1 (see #5765)
COMPLETION_WAITING_DOTS="%F{yellow}waiting...%f"
COMPLETION_WAITING_DOTS="true"
HIST_STAMPS="mm/dd/yyyy"
plugins=(git zsh-syntax-highlighting fast-syntax-highlighting rust)
ZSH_THEME="crcandy"
zstyle ':omz:update' mode auto
source $ZSH/oh-my-zsh.sh
# Manual config
export LANG=en_US.UTF-8
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='mvim'
fi
# Aliases
alias vim="nvim"
alias yt-dlp="yt-dlp -o \"%(title)s.%(ext)s\""
2024-05-18 20:46:28 +00:00
alias gpg="gpg --allow-non-selfsigned-uid"
alias ysap="curl ysap.daveeddy.com"
2024-08-08 13:15:44 +00:00
alias get_idf='. $HOME/esp/esp-idf/export.sh'
. $HOME/export-esp.sh
2024-03-18 10:51:30 +00:00
# Aditional Paths
export PATH="$PATH:/usr/lib/ruby/gems/3.0.0/gems"
2024-05-18 20:46:28 +00:00
# custom functions
function displayqr() {
qrencode -o - $1 | display -
}
2024-03-18 10:51:30 +00:00
2024-05-18 20:46:28 +00:00
# Created by `pipx` on 2024-04-13 08:08:20
export PATH="$PATH:/home/mcorange/.local/bin"
2024-08-08 13:15:44 +00:00
export PATH="$HOME/.cargo/bin:$PATH"