-
Notifications
You must be signed in to change notification settings - Fork 313
/
setup.fish
21 lines (18 loc) · 910 Bytes
/
setup.fish
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
set fish_greeting
if not echo $fish_user_paths | grep /home/ubuntu/infra/bin
set -U fish_user_paths $fish_user_paths /home/ubuntu/infra/bin
end
set -Ux EDITOR /usr/bin/vim
mkdir -p ~/.config/fish/
echo begin > ~/.config/fish/config.fish
echo set --local AUTOJUMP_PATH /usr/share/autojump/autojump.fish >> ~/.config/fish/config.fish
echo if test -e \$AUTOJUMP_PATH >> ~/.config/fish/config.fish
echo source \$AUTOJUMP_PATH >> ~/.config/fish/config.fish
echo end >> ~/.config/fish/config.fish
echo end >> ~/.config/fish/config.fish
echo set VIRTUAL_ENV_DISABLE_PROMPT yes >> ~/.config/fish/config.fish
echo if test -e ~/infra/.env/bin/activate.fish >> ~/.config/fish/config.fish
echo source ~/infra/.env/bin/activate.fish >> ~/.config/fish/config.fish
echo end >> ~/.config/fish/config.fish
mkdir -p ~/.fish/functions/
echo -e 'function fish_greeting\nend\n' > ~/.fish/functions/fish_greeting