We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f595909 commit 80ec74eCopy full SHA for 80ec74e
1 file changed
lib/commands/doctor.sh
@@ -130,7 +130,7 @@ cmd_doctor() {
130
esac
131
if [ -n "$_rc_file" ] && [ -f "$_rc_file" ] && grep -q 'git gtr init' "$_rc_file" 2>/dev/null; then
132
echo "[OK] Shell integration: loaded (gtr cd available)"
133
- else
+ elif [ -n "$_rc_file" ]; then
134
local _init_hint
135
if [ "$_shell_name" = "fish" ]; then
136
_init_hint="git gtr init fish | source"
0 commit comments