forked from compiler-explorer/infra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.fish
19 lines (16 loc) · 808 Bytes
/
setup.fish
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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