-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.zshrc
54 lines (40 loc) · 1022 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
45
46
47
48
49
50
51
52
53
54
function push() {
git status
git add .
echo "New commit message set to: $1\n"
git commit -m "$1"
git push
}
function thanos(){
kill -9 $(lsof -t -i:$1)
}
export ZSH="$HOME/.oh-my-zsh"
# Path to your oh-my-zsh installation.
plugins=(git git-open zsh-autosuggestions zsh-vi-mode F-Sy-H)
# ZSH_THEME="spaceship"
source $ZSH/oh-my-zsh.sh
alias vim="nvim"
alias ls="exa"
# alias pnpm
alias p="pnpm"
alias pi="pnpm install"
alias pd="pnpm run dev"
alias pb="pnpm run build"
alias hs="atuin search"
alias push=push
alias thanos=thanos
export EDITOR="nvim"
# Set Spaceship ZSH as a prompt
export FZF_DEFAULT_COMMAND='rg --files'
export BAT_THEME='base16'
export GPG_TTY=$(tty)
eval "$(zoxide init --cmd j zsh)"
eval "$(starship init zsh)"
eval "$(atuin init zsh)"
export VOLTA_HOME="$HOME/.volta"
export PATH="$VOLTA_HOME/bin:$PATH"
# bun completions
[ -s "/home/kevin/.bun/_bun" ] && source "/home/kevin/.bun/_bun"
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"