reformat all fish scripts

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.
This commit is contained in:
Kurtis Rader
2016-11-27 21:27:22 -08:00
parent 54a76bb9e5
commit 11a60c8374
161 changed files with 2638 additions and 2587 deletions

View File

@@ -6,7 +6,7 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
end
if not set -q argv[1]
bind --erase --all # clear earlier bindings, if any
bind --erase --all # clear earlier bindings, if any
if test "$fish_key_bindings" != "fish_default_key_bindings"
# Allow the user to set the variable universally
set -q fish_key_bindings
@@ -20,11 +20,11 @@ function fish_default_key_bindings -d "Default (Emacs-like) key bindings for fis
# These are shell-specific bindings that we share with vi mode.
__fish_shared_key_bindings $argv
or return # protect against invalid $argv
or return # protect against invalid $argv
# This is the default binding, i.e. the one used if no other binding matches
bind $argv "" self-insert
or exit # protect against invalid $argv
or exit # protect against invalid $argv
bind $argv \n execute
bind $argv \r execute