mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-02 05:41:16 -03:00
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:
@@ -13,5 +13,6 @@ function __fish_toggle_comment_commandline --description 'Comment/uncomment the
|
||||
end
|
||||
set -l cmdlines (printf '%s\n' '#'$cmdlines | string replace -r '^##' '')
|
||||
commandline -r $cmdlines
|
||||
string match -q '#*' $cmdlines[1]; and commandline -f execute
|
||||
string match -q '#*' $cmdlines[1]
|
||||
and commandline -f execute
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user