mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-12-22 17:57:40 +00:00
Better install of fish
This commit is contained in:
parent
ef487389e5
commit
b91d29c4f0
@ -1,6 +1,9 @@
|
||||
#! /bin/bash
|
||||
|
||||
sudo_package 'fish'
|
||||
|
||||
if ! command_exist fish ; then
|
||||
sudo_package 'fish'
|
||||
fi
|
||||
|
||||
if [ ! -d $HOME/.oh-my-fish ]; then
|
||||
curl -L https://github.com/bpinto/oh-my-fish/raw/master/tools/install.fish | fish
|
||||
@ -16,3 +19,5 @@ fi
|
||||
add_line 'set fish_path $HOME/.oh-my-fish' $FISH_CONFIG
|
||||
add_line "set fish_custom $OMF_CUSTOM" $FISH_CONFIG
|
||||
add_line '. $fish_path/oh-my-fish.fish' $FISH_CONFIG
|
||||
|
||||
fish -c 'omf install'
|
||||
|
Loading…
Reference in New Issue
Block a user