mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-20 07:51:14 -03:00
Comment fixes.
This commit is contained in:
@@ -19,17 +19,15 @@ end
|
||||
|
||||
if status --is-interactive
|
||||
# The user has seemingly explicitly launched an old fish with
|
||||
# too-new scripts installed. a
|
||||
# too-new scripts installed.
|
||||
if not contains "string" (builtin -n)
|
||||
set -g __is_launched_without_string 1
|
||||
|
||||
# XXX nostring - fix old fish binaries with no `string' builtin.
|
||||
# When executed on fish 2.2.0, the `else' block after this would
|
||||
# force on 24-bit mode due to changes to in test behavior
|
||||
# Let's show a public serivec announcement.
|
||||
|
||||
# Remove this code when it's safe to upgrade fish and we've solved fish-script conflicts.
|
||||
# force on 24-bit mode due to changes to in test behavior.
|
||||
# These "XXX nostring" hacks were added for 2.3.1
|
||||
|
||||
# Let's explain to the user what's going on.
|
||||
set_color --bold
|
||||
echo "You appear to be trying to launch an old fish binary with newer scripts "
|
||||
echo "installed into" (set_color --underline)"$__fish_datadir"
|
||||
@@ -38,6 +36,7 @@ if status --is-interactive
|
||||
set_color yellow
|
||||
echo "You may need to uninstall and reinstall fish!"
|
||||
set_color normal
|
||||
# Remove this code when we've made it safer to upgrade fish.
|
||||
else
|
||||
# Enable truecolor/24-bit support for select terminals
|
||||
if not set -q NVIM_LISTEN_ADDRESS # (Neovim will swallow the 24bit sequences, rendering text white)
|
||||
|
||||
Reference in New Issue
Block a user