Revert "__fish_config_interactive: warn users that fishd is going away"

This reverts commit ad61c3f0d6.

Work on #1730.
This commit is contained in:
David Adam 2015-03-26 18:16:21 +08:00
parent ad61c3f0d6
commit 384cb2d735

View file

@ -119,18 +119,6 @@ function __fish_config_interactive -d "Initializations that should be performed
end end
end end
end end
# Warn upgrading users that fishd has gone away
# https://github.com/fish-shell/fish-shell/issues/1730
set -l __fishd_socket_path
if set -q XDG_RUNTIME_DIR
set __fishd_socket_path "$XDG_RUNTIME_DIR/fishd.socket"
else
set __fishd_socket_path "/tmp/fish.$USER/fishd.socket"
end
if test -S "$__fishd_socket_path"
printf (_ "One or more instances of an old version of fish is still running.\nUniversal variables will not be shared across instances and changes may be lost.\nAll running instances of old versions of fish should be restarted.\n")
end
end end
# #