|
|
|
@ -34,15 +34,14 @@ function describe_oh_my_fish
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
function it_loads_all_oh_my_fish_functions
|
|
|
|
|
list.erase "$fish_path/functions/" fish_function_path
|
|
|
|
|
list.erase "$fish_path/functions/" --from fish_function_path
|
|
|
|
|
|
|
|
|
|
load_oh_my_fish
|
|
|
|
|
expect $fish_function_path to_include $fish_path/functions/
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
function it_loads_all_selected_plugins
|
|
|
|
|
list.erase "$fish_path/plugins/bak" fish_function_path
|
|
|
|
|
list.erase "$fish_path/plugins/z" fish_function_path
|
|
|
|
|
list.erase "$fish_path/plugins/bak" "$fish_path/plugins/z" --from fish_function_path
|
|
|
|
|
|
|
|
|
|
set fish_plugins bak z
|
|
|
|
|
load_oh_my_fish
|
|
|
|
@ -51,7 +50,7 @@ function describe_oh_my_fish
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
function it_loads_plugins_from_custom_folder
|
|
|
|
|
array.delete "$fish_custom/plugins/example" fish_function_path
|
|
|
|
|
list.erase "$fish_custom/plugins/example" --from fish_function_path
|
|
|
|
|
|
|
|
|
|
set fish_plugins example
|
|
|
|
|
load_oh_my_fish
|
|
|
|
@ -59,7 +58,7 @@ function describe_oh_my_fish
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
function it_loads_the_selected_theme
|
|
|
|
|
list.erase "$fish_path/themes/l" fish_function_path
|
|
|
|
|
list.erase "$fish_path/themes/l" --from fish_function_path
|
|
|
|
|
|
|
|
|
|
set fish_theme l
|
|
|
|
|
load_oh_my_fish
|
|
|
|
|