mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-15 09:27:38 +00:00
11a60c8374
I hate doing this but I am tired of touching a fish script as part of some change and having `make style` radically change it. Which makes editing fish scripts more painful than it needs to be. It is time to do a wholesale reformatting of these scripts to conform to the documented style as implemented by the `fish_indent` program.
9 lines
365 B
Fish
9 lines
365 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
|
|
set -x __fish_bin_dir $__fish_bin_dir
|
|
eval (string escape $__fish_datadir/tools/web_config/webconfig.py) $initial_tab
|
|
end
|