mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-17 01:52:45 +08: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:
parent
20314c5b3d
commit
8acff328e0
|
@ -90,8 +90,8 @@ end
|
|||
|
||||
|
||||
function fish_svn_prompt --description "Prompt function for svn"
|
||||
# if svn isn't installed then don't do anything
|
||||
if not command -sq svn
|
||||
# if svn isn't installed or doesn't offer svnversion then don't do anything
|
||||
if not command -sq svn svnversion
|
||||
return 1
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user