-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
48 lines (39 loc) · 1.09 KB
/
.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
45
46
47
48
# ZSH settings
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="spaceship"
export UPDATE_ZSH_DAYS=14
export DISABLE_UPDATE_PROMPT=true # accept updates by default
plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
zsh-z
colored-man-pages
)
# https://ohmyz.sh/
source $ZSH/oh-my-zsh.sh
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# for jump
eval "$(jump shell)"
# pnpm
export PNPM_HOME="/Users/cihatsalik/Library/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end
# Load custom aliases
if [[ -f "$HOME/.zsh_configs/.zsh_aliases.inc" ]]; then
source "$HOME/.zsh_configs/.zsh_aliases.inc"
else
echo >&2 "WARNING: can't load shell aliases"
fi
# Load custom functions
if [[ -f "$HOME/.zsh_configs/.zsh_functions.inc" ]]; then
source "$HOME/.zsh_configs/.zsh_functions.inc"
else
echo >&2 "WARNING: cna't load shell functions"
fi