Commit 8d7ccec6 authored by Bruno Pinto's avatar Bruno Pinto

using --from syntax

parent 235bcf78
...@@ -34,15 +34,14 @@ function describe_oh_my_fish ...@@ -34,15 +34,14 @@ function describe_oh_my_fish
end end
function it_loads_all_oh_my_fish_functions 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 load_oh_my_fish
expect $fish_function_path to_include $fish_path/functions/ expect $fish_function_path to_include $fish_path/functions/
end end
function it_loads_all_selected_plugins function it_loads_all_selected_plugins
list.erase "$fish_path/plugins/bak" fish_function_path list.erase "$fish_path/plugins/bak" "$fish_path/plugins/z" --from fish_function_path
list.erase "$fish_path/plugins/z" fish_function_path
set fish_plugins bak z set fish_plugins bak z
load_oh_my_fish load_oh_my_fish
...@@ -51,7 +50,7 @@ function describe_oh_my_fish ...@@ -51,7 +50,7 @@ function describe_oh_my_fish
end end
function it_loads_plugins_from_custom_folder 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 set fish_plugins example
load_oh_my_fish load_oh_my_fish
...@@ -59,7 +58,7 @@ function describe_oh_my_fish ...@@ -59,7 +58,7 @@ function describe_oh_my_fish
end end
function it_loads_the_selected_theme 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 set fish_theme l
load_oh_my_fish load_oh_my_fish
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment