fish-shell/share/functions/fish_config.fish
Torsten Grust 122791646e Fix check for non-empty argument (= initial tab) in fish_config
The original version (based on 'test') was creating spurious files named "0" in the current working directory
2012-08-30 13:17:32 +02:00

8 lines
286 B
Fish

function fish_config --description "Launch fish's web based configuration"
# Support passing an initial tab like "colors" or "functions"
set -l initial_tab
if count $argv >/dev/null
set initial_tab $argv[1]
end
eval $__fish_datadir/tools/web_config/webconfig.py $initial_tab
end