shoestrap/recipes/default/fisherman
ViViDboarder 028d0a56a0 Add support for both omf and fisherman
omf seems a bit janky at times. Giving fisherman a shot
2016-02-11 17:17:28 -08:00

17 lines
458 B
Bash

#! /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