Closed alyyousuf7 closed 4 years ago
@umayr Would you mind merging this? I can confirm the problem @alyyousuf7 described and this PR fixes the issue for me.
faced the same issue. updated it manually. Because it is annoying to see the user:host. Would be helpful to get this merged.
The right prompt is displaying
user:host
even on non-ssh'ed machines.The issue is,
set -q
tests if the variable was ever set.I have replaced it with
test -n
to test if the variable is empty.This should fix the issue.