mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-24 01:46:31 +00:00
Ensure fish config dir and init exists
This commit is contained in:
parent
6af3b87c5f
commit
0f6e082bbf
@ -1,5 +1,8 @@
|
|||||||
#! /bin/bash
|
#! /bin/bash
|
||||||
|
|
||||||
|
mkdir -p $XDG_CONFIG_HOME/fish
|
||||||
|
touch $XDG_CONFIG_HOME/fish/config.fish
|
||||||
|
|
||||||
try_link $DEFAULT_ASSETS_PATH $XDG_CONFIG_HOME/fish/synced
|
try_link $DEFAULT_ASSETS_PATH $XDG_CONFIG_HOME/fish/synced
|
||||||
add_line "set -gx fish_synced_dir $XDG_CONFIG_HOME/fish/synced " $XDG_CONFIG_HOME/fish/config.fish
|
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
|
add_line "source $XDG_CONFIG_HOME/fish/synced/init.fish " $XDG_CONFIG_HOME/fish/config.fish
|
||||||
|
Loading…
Reference in New Issue
Block a user