-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshrc
33 lines (27 loc) · 917 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
source $HOMEBREW_PREFIX/share/antigen/antigen.zsh
antigen init $HOME/.antigenrc
eval "$(starship init zsh)"
eval "$(direnv hook zsh)"
eval "$(rbenv init - zsh)" # Slow
eval "$(fzf --zsh)"
# https://docs.github.com/en/copilot/github-copilot-in-the-cli/setting-up-github-copilot-in-the-cli
# Check if command exists before running it
eval "$(gh copilot alias -- zsh)" # Can be improved
if command -v ngrok &>/dev/null; then
eval "$(ngrok completion)"
fi
eval $(thefuck --alias f)
alias rm="trash"
export EDITOR="nvim"
export HOMEBREW_NO_AUTO_UPDATE=1
# fpath=(~/.stripe $fpath)
# Slow
# if type brew &>/dev/null; then
# FPATH="$(brew --prefix)/share/zsh/site-functions:${FPATH}"
# autoload -Uz compinit
# compinit
# fi
if command -v gcloud &>/dev/null; then
source "$(brew --prefix)/share/google-cloud-sdk/path.zsh.inc"
source "$(brew --prefix)/share/google-cloud-sdk/completion.zsh.inc"
fi