mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 22:17:52 +08:00
c51abd04ff
Closes #4429
11 lines
432 B
Fish
11 lines
432 B
Fish
function fish_config --description "Launch fish's web based configuration"
|
|
set -lx __fish_bin_dir $__fish_bin_dir
|
|
if command -sq python3
|
|
python3 "$__fish_data_dir/tools/web_config/webconfig.py" $argv
|
|
else if command -sq python2
|
|
python2 "$__fish_data_dir/tools/web_config/webconfig.py" $argv
|
|
else if command -sq python
|
|
python "$__fish_data_dir/tools/web_config/webconfig.py" $argv
|
|
end
|
|
end
|