2012-03-26 09:38:33 +08:00
|
|
|
function fish_config --description "Launch fish's web based configuration"
|
2017-04-20 19:37:27 +08:00
|
|
|
set -lx __fish_bin_dir $__fish_bin_dir
|
|
|
|
if command -sq python3
|
2018-03-12 21:34:20 +08:00
|
|
|
python3 "$__fish_data_dir/tools/web_config/webconfig.py" $argv
|
2017-04-20 19:37:27 +08:00
|
|
|
else if command -sq python2
|
2018-03-12 21:34:20 +08:00
|
|
|
python2 "$__fish_data_dir/tools/web_config/webconfig.py" $argv
|
2017-04-20 19:37:27 +08:00
|
|
|
else if command -sq python
|
2018-03-12 21:34:20 +08:00
|
|
|
python "$__fish_data_dir/tools/web_config/webconfig.py" $argv
|
2016-11-28 13:27:22 +08:00
|
|
|
end
|
2012-03-26 09:38:33 +08:00
|
|
|
end
|