dot_files/.zshrc
2024-08-08 16:15:44 +03:00

45 lines
1019 B
Bash

## 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\""
alias gpg="gpg --allow-non-selfsigned-uid"
alias ysap="curl ysap.daveeddy.com"
alias get_idf='. $HOME/esp/esp-idf/export.sh'
. $HOME/export-esp.sh
# Aditional Paths
export PATH="$PATH:/usr/lib/ruby/gems/3.0.0/gems"
# custom functions
function displayqr() {
qrencode -o - $1 | display -
}
# Created by `pipx` on 2024-04-13 08:08:20
export PATH="$PATH:/home/mcorange/.local/bin"
export PATH="$HOME/.cargo/bin:$PATH"