mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-25 08:07:22 +08:00
Restyle a few stragglers
THERE WERE TABS! TABS! TABS! [ci skip]
This commit is contained in:
parent
c2b7e9b2e6
commit
7ddae68645
|
@ -20,8 +20,8 @@ set committers_from_tag (mktemp)
|
|||
# Unicode collation tables mean that this is fraught with danger; for example, the
|
||||
# "“" character will not case-fold in UTF-8 locales. sort suggests using the C locale!
|
||||
|
||||
git log "$TAG" --format="%aN" --reverse | sort -u > $committers_to_tag
|
||||
git log "$TAG".. --format="%aN" --reverse | sort -u > $committers_from_tag
|
||||
git log "$TAG" --format="%aN" --reverse | sort -u >$committers_to_tag
|
||||
git log "$TAG".. --format="%aN" --reverse | sort -u >$committers_from_tag
|
||||
|
||||
echo New committers:
|
||||
echo (comm -13 $committers_to_tag $committers_from_tag)','
|
||||
|
|
|
@ -39,7 +39,7 @@ function __fish_complete_ant_targets -d "Print list of targets from build.xml an
|
|||
set -l cache_file $cache_dir/(fish_md5 -s $buildfile)
|
||||
if [ ! -s "$cache_file" ]
|
||||
# generate cache file if empty
|
||||
__parse_ant_targets_from_projecthelp $buildfile > $cache_file
|
||||
__parse_ant_targets_from_projecthelp $buildfile >$cache_file
|
||||
end
|
||||
|
||||
cat $cache_file
|
||||
|
|
|
@ -51,7 +51,7 @@ if not set -q __fish_is_running_tests
|
|||
|
||||
set -l escaped_parent (dirname $PWD | sed -e 's/[\'\\\\]/\\\\&/g'); or die
|
||||
set -l escaped_config (printf '%s/fish' $XDG_CONFIG_HOME | sed -e 's/[\'\\\\]/\\\\&/g'); or die
|
||||
printf 'set fish_function_path \'%s/functions\' \'%s/share/functions\'\n' $escaped_config $escaped_parent > $XDG_CONFIG_HOME/fish/config.fish; or die
|
||||
printf 'set fish_function_path \'%s/functions\' \'%s/share/functions\'\n' $escaped_config $escaped_parent >$XDG_CONFIG_HOME/fish/config.fish; or die
|
||||
set -xl __fish_is_running_tests $XDG_CONFIG_HOME
|
||||
|
||||
# Set locale information for consistent tests. Fish should work with a lot of locales but the
|
||||
|
@ -108,7 +108,9 @@ function say -V suppress_color
|
|||
return 1
|
||||
end
|
||||
|
||||
if begin; test -n "$suppress_color"; or set_color $color_flags $argv[1]; end
|
||||
if begin
|
||||
test -n "$suppress_color"; or set_color $color_flags $argv[1]
|
||||
end
|
||||
printf '%s' $argv[2..-1]
|
||||
test -z "$suppress_color"; and set_color normal
|
||||
if test -z "$suppress_newline"
|
||||
|
|
Loading…
Reference in New Issue
Block a user