-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
44 lines (33 loc) · 1014 Bytes
/
.zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Path to your oh-my-zsh installation.
if [[ "$(uname)" == "Darwin" ]]; then
export ZSH="/Users/tim/.oh-my-zsh"
export PATH="$HOME/.bin:$PATH"
elif [[ "$(uname)" == "Linux" ]]; then
export ZSH="/home/tim/.oh-my-zsh"
PROMPT="$fg[cyan]%}$USER@%{$fg[blue]%}%m ${PROMPT}"
if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
exec startx
fi
else
echo "Unknown OS, cannot locate ZSH"
fi
# ZSH
HIST_STAMPS="yyyy-mm-dd"
plugins=(git zsh-syntax-highlighting zsh-autosuggestions fzf-zsh-plugin)
source $ZSH/oh-my-zsh.sh
unset MAILCHECK
export EDITOR=hx
export PAGER=bat
source ~/.config/aliasrc
source ~/.config/functionrc
source ~/.config/zsh/.secret
bindkey -v
eval "$(starship init zsh)"
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh
# bun completions
[ -s "/Users/tim/.bun/_bun" ] && source "/Users/tim/.bun/_bun"
export VOLTA_HOME="$HOME/.volta"
export PATH="$VOLTA_HOME/bin:$PATH"
source <(yr completion zsh)
export LEDGER_FILE=~/finance/2024.journal
export LANG=en_US.UTF-8