shoestrap/recipes/default/fish

11 lines
393 B
Plaintext
Raw Permalink Normal View History

#! /bin/bash
# Link and add source all synced fish configs
2019-06-12 18:07:34 +00:00
mkdir -p "$XDG_CONFIG_HOME/fish"
touch "$XDG_CONFIG_HOME/fish/config.fish"
try_link "$DEFAULT_ASSETS_PATH" "$XDG_CONFIG_HOME/fish/synced"
2023-03-08 23:00:18 +00:00
add_line "set -gx fish_synced_dir $XDG_CONFIG_HOME/fish/synced" "$XDG_CONFIG_HOME/fish/config.fish"
add_line "source $XDG_CONFIG_HOME/fish/synced/init.fish" "$XDG_CONFIG_HOME/fish/config.fish"