-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfish_config.fish
75 lines (56 loc) · 2.16 KB
/
fish_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
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
set -x -g LS_COLORS "di=38;5;27:fi=38;5;7:ln=38;5;51:pi=40;38;5;11:so=38;5;13:or=38;5;197:mi=38;5;161:ex=38;5;9:"
set -x -g TERM "xterm-256color"
# Explicitly set Homebrew path
set -x -g PATH /opt/homebrew/bin $PATH
# Setting up TTY for GPG
set -x GPG_TTY (tty)
set -x SSH_AUTH_SOCK (gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch gpg-agent
# Fish
set -U fisher_copy true
# Shell
set -gx LANG en_US.UTF-8
set -gx LANGUAGE en_US
set -gx LC_TIME en_US.UTF-8
# ncurses
fish_add_path /opt/homebrew/opt/ncurses/bin
set -gx LDFLAGS "-L/opt/homebrew/opt/ncurses/lib"
set -gx CPPFLAGS "-I/opt/homebrew/opt/ncurses/include"
set -gx PKG_CONFIG_PATH "/opt/homebrew/opt/ncurses/lib/pkgconfig"
# PHP Dependencies
fish_add_path /opt/homebrew/opt/bison/bin
set -gx LDFLAGS "-L/opt/homebrew/opt/bison/lib"
fish_add_path /opt/homebrew/opt/libiconv/bin
set -gx LDFLAGS "-L/opt/homebrew/opt/libiconv/lib"
set -gx CPPFLAGS "-I/opt/homebrew/opt/libiconv/include"
# Fish fzf
set -U FZF_LEGACY_KEYBINDINGS 0
set -U FZF_COMPLETE 1
# Rust
set -x -g PATH $HOME/.cargo/bin $PATH
# Erlang
# Always build Erlang documents
set -gx KERL_BUILD_DOCS yes
set -gx KERL_CONFIGURE_OPTIONS "--disable-jit"
# Elixir
# Enable iex shell history
set -gx ERL_AFLAGS "-kernel shell_history enabled"
# Python
set -x -g PATH $HOME/.local/bin $PATH
set -x -g PIPENV_VENV_IN_PROJECT 1
# ASDF config
set -gx ASDF_NODEJS_AUTO_ENABLE_COREPACK 1
# Bob the fish theme
set -g theme_display_k8s_context yes
set -g theme_display_k8s_namespace yes
if [ -f $HOME/.config/fish/config-extension.fish ]; if type source > /dev/null; source $HOME/.config/fish/config-extension.fish; end; end
# The next line updates PATH for the Google Cloud SDK.
if [ -f '/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.fish.inc' ]; if type source > /dev/null; source '/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.fish.inc'; else; . '/usr/local/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/path.fish.inc'; end; end
# pnpm
set -gx PNPM_HOME "/Users/zentetsuken/Library/pnpm"
if not string match -q -- $PNPM_HOME $PATH
set -gx PATH "$PNPM_HOME" $PATH
end
# pnpm end
# asdf
source /opt/homebrew/opt/asdf/libexec/asdf.fish