-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.fish
28 lines (21 loc) · 829 Bytes
/
config.fish
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
if status is-interactive
# Commands to run in interactive sessions can go here
end
## Disable fish shell default greetins message
set fish_greeting
## Update the path with the location of brew binaries
/opt/homebrew/bin/brew shellenv | source
## Load startship prompt
starship init fish | source
## Configure "secretive" as ssh-agent
set -x SSH_AUTH_SOCK $HOME/Library/Containers/com.maxgoedjen.Secretive.SecretAgent/Data/socket.ssh
## Configure jumping between most recent directories
zoxide init fish | source
## Ensure golang binaries are added to the path
set -Ux GOPATH "/usr/local/go"
fish_add_path (go env GOROOT)/bin
## Make sure fish can find python
## binaries and dependencies installed via pyenv
set -Ux PYENV_ROOT $HOME/.pyenv
set -U fish_user_paths $PYENV_ROOT/bin $fish_user_paths
pyenv init - | source