mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-24 21:46:29 +00:00
18 lines
527 B
Bash
18 lines
527 B
Bash
#! /bin/bash
|
|
|
|
if [ ! -d "$fisher_home" ]; then
|
|
curl -L install.fisherman.sh | fish
|
|
fi
|
|
|
|
rm -fr "$XDG_CONFIG_HOME/fisherman"
|
|
try_link "${DEFAULT_ASSETS_PATH}/fisherman" "$XDG_CONFIG_HOME/fisherman"
|
|
|
|
add_line "source_config paths" $XDG_CONFIG_HOME/fish/config.fish
|
|
add_line "source_config alias" $XDG_CONFIG_HOME/fish/config.fish
|
|
|
|
# Link functions
|
|
mkdir -p $XDG_CONFIG_HOME/fish/functions
|
|
for func in ${DEFAULT_ASSETS_PATH}/fish/functions/*.fish; do
|
|
try_link "$func" $XDG_CONFIG_HOME/fish/functions/$(basename $func)
|
|
done
|