-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
45 lines (35 loc) · 1.05 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
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="agnoster"
export DEFAULT_USER=$USER
plugins=(git npm zsh-autosuggestions zsh-syntax-highlighting fast-syntax-highlighting zsh-autocomplete)
source $ZSH/oh-my-zsh.sh
export PATH="$HOME/.local/bin/:$PATH"
export PATH="$PATH:/opt/nvim-linux64/bin"
alias vim="nvim"
alias lse="npx live-server"
sudo() {
if [ "$1" = "vim" ]; then
shift
command sudo nvim "$@"
else
command sudo "$@"
fi
}
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
nvm use 20
alias rungo="~/.local/scripts/rungo.sh"
export PATH=$PATH:/usr/local/go/bin
export EDITOR='nvim'
export VISUAL='nvim'
# pnpm
export PNPM_HOME="/home/tpuntar/.local/share/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pnpm end