mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-25 18:36:31 +00:00
17 lines
458 B
Plaintext
17 lines
458 B
Plaintext
|
#! /bin/bash
|
||
|
|
||
|
if [ ! -d "$fisher_home" ]; then
|
||
|
curl -L install.fisherman.sh | fish
|
||
|
rm -fr "$fisher_config"
|
||
|
fi
|
||
|
|
||
|
try_link "${DEFAULT_ASSETS_PATH}/fisherman" "$HOME/.config/fisherman"
|
||
|
|
||
|
add_line "source_config paths" ~/.config/fish/config.fish
|
||
|
add_line "source_config alias" ~/.config/fish/config.fish
|
||
|
|
||
|
# Link functions
|
||
|
for func in ${DEFAULT_ASSETS_PATH}/fish/functions/*.fish; do
|
||
|
try_link "$func" $HOME/.config/fish/functions/$(basename $func)
|
||
|
done
|