Make sure that fish functions dir is created

This commit is contained in:
ViViDboarder 2016-03-07 15:37:21 -08:00
parent ab0b7ff03c
commit 637a1f61c8

View File

@ -11,6 +11,7 @@ add_line "source_config paths" $XDG_CONFIG_HOME/fish/config.fish
add_line "source_config alias" $XDG_CONFIG_HOME/fish/config.fish add_line "source_config alias" $XDG_CONFIG_HOME/fish/config.fish
# Link functions # Link functions
mkdir -p $XDG_CONFIG_HOME/fish/functions
for func in ${DEFAULT_ASSETS_PATH}/fish/functions/*.fish; do for func in ${DEFAULT_ASSETS_PATH}/fish/functions/*.fish; do
try_link "$func" $XDG_CONFIG_HOME/fish/functions/$(basename $func) try_link "$func" $XDG_CONFIG_HOME/fish/functions/$(basename $func)
done done