mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-11-22 10:46:29 +00:00
028d0a56a0
omf seems a bit janky at times. Giving fisherman a shot
15 lines
392 B
Fish
15 lines
392 B
Fish
function source_config
|
|
# Sources a config file and corresponding local config file if it exists
|
|
set shared_config "$OMF_CONFIG/$argv[1].fish"
|
|
set local_config "$OMF_CONFIG/$argv[1].local.fish"
|
|
if test -f "$shared_config"
|
|
source "$shared_config"
|
|
end
|
|
if test -f "$local_config"
|
|
source "$local_config"
|
|
end
|
|
end
|
|
|
|
source_config paths
|
|
source_config alias
|