-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.zshrc
99 lines (64 loc) · 3.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
export PATH="${PATH}:${HOME}/.local/bin"
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
#ZSH_THEME="powerlevel10k/powerlevel10k"
plugins=(git macos zsh-syntax-highlighting zsh-autosuggestions)
source $ZSH/oh-my-zsh.sh
export PATH="/usr/local/sbin:$PATH"
export PATH="/usr/local/opt/php@8.1/bin:$PATH"
export PATH="/usr/local/opt/php@8.1/sbin:$PATH"
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
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh"
export HOMEBREW_GITHUB_API_TOKEN=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
export HOMEBREW_GITHUB_API_TOKEN=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
export PATH="$PATH:$(go env GOPATH)/bin"
alias bcm="sh /Users/alfiankan/bcm.sh"
alias octovm="ssh ubuntu@54.91.111.71"
alias gcloud="/Users/alfiankan/google-cloud-sdk/bin/gcloud"
# bun completions
[ -s "/Users/alfiankan/.bun/_bun" ] && source "/Users/alfiankan/.bun/_bun"
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin
export JAVA_HOME=`/usr/libexec/java_home -v 11.0.17`
source ~/powerlevel10k/powerlevel10k.zsh-theme
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
alias gt='sh ~/test_helper.sh'
export PATH=$PATH:/Users/alfiankan/nim-1.6.8/bin
export JAVA_HOME=`/usr/libexec/java_home -v 11.0.17`
export ANDROID_HOME=$HOME/Library/Android/sdk
export PATH=$PATH:$ANDROID_HOME/emulator
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/tools/bin
export PATH=$PATH:$ANDROID_HOME/platform-tools
# Wasmer
export WASMER_DIR="/Users/alfiankan/.wasmer"
[ -s "$WASMER_DIR/wasmer.sh" ] && source "$WASMER_DIR/wasmer.sh"
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/Users/alfiankan/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/alfiankan/google-cloud-sdk/path.zsh.inc'; fi
# The next line enables shell command completion for gcloud.
if [ -f '/Users/alfiankan/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/alfiankan/google-cloud-sdk/completion.zsh.inc'; fi
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change.
export PATH="$PATH:$HOME/.rvm/bin"
export OPENAI_API_KEY=
export OPENAI_AI_KEY=
export PATH="$PATH:$HOME/nvim-mac/bin"
# pnpm
export PNPM_HOME="/Users/alfiankan/Library/pnpm"
export PATH="$PNPM_HOME:$PATH"
# pnpm end
# llvm
export LLVM_PATH="/opt/homebrew/Cellar/llvm/15.0.7_1/bin"
export PATH="$LLVM_PATH:$PATH"