mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 16:21:15 -03:00
svn_prompt: Check for svnversion
MacOS Catalina apparently ships a stripped down svn that doesn't have `svnversion`, which we use to print the revision. For now skip the entire step to remove error spam. Fixes #6267. [ci skip]
This commit is contained in:
@@ -90,8 +90,8 @@ end
|
|||||||
|
|
||||||
|
|
||||||
function fish_svn_prompt --description "Prompt function for svn"
|
function fish_svn_prompt --description "Prompt function for svn"
|
||||||
# if svn isn't installed then don't do anything
|
# if svn isn't installed or doesn't offer svnversion then don't do anything
|
||||||
if not command -sq svn
|
if not command -sq svn svnversion
|
||||||
return 1
|
return 1
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user