mirror of
https://github.com/oh-my-fish/oh-my-fish
synced 2024-11-03 15:40:32 +00:00
[dpaste] Another try to fix tests running on OS X
This commit is contained in:
parent
b256aac2e1
commit
e957365d75
@ -1,11 +1,7 @@
|
|||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
set -l script_dir (dirname (status -f))
|
|
||||||
|
|
||||||
function suite_dpaste
|
function suite_dpaste
|
||||||
function setup
|
function setup
|
||||||
set -g __dpaste_expires_choises
|
|
||||||
source $script_dir/../dpaste.fish
|
|
||||||
__dpaste_set_defaults
|
__dpaste_set_defaults
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -23,6 +19,8 @@ function suite_dpaste
|
|||||||
end
|
end
|
||||||
|
|
||||||
if not set -q tank_running
|
if not set -q tank_running
|
||||||
source $script_dir/helper.fish
|
source (dirname (status -f))/helper.fish
|
||||||
|
set -g __dpaste_expires_choises
|
||||||
|
source (dirname (status -f))/../dpaste.fish
|
||||||
tank_run
|
tank_run
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user