-
Notifications
You must be signed in to change notification settings - Fork 5
/
config.fish
30 lines (23 loc) · 893 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
29
30
for file in aliases prompt
source ~/.config/fish/inc/$file.fish
end
# OS-specific customizations
set osname (uname)
if [ $osname = Darwin ]
source ~/.config/fish/inc/mac.fish
else if [ $osname = Linux ]
source ~/.config/fish/inc/linux.fish
end
# iTerm 2 integration
[ -f ~/.iterm2_shell_integration.fish ]; and source ~/.iterm2_shell_integration.fish
# VS Code shell integration
string match -q "$TERM_PROGRAM" vscode; and source (code --locate-shell-integration-path fish)
# The next line updates PATH for the Google Cloud SDK.
[ -f '~/bin/google-cloud-sdk/path.fish.inc' ]; and source ~/bin/google-cloud-sdk/path.fish.inc
cq gpg; and set -gx GPG_TTY (tty)
# z-like directory jumping
cq zoxide; and zoxide init fish | source
# https://github.com/cca/libraries-k8s
if [ -f ~/.config/fish/functions/set_k8s_ctx.fish ]
source ~/.config/fish/functions/set_k8s_ctx.fish
end