Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
FISH_SVN_PROMPT(1)		  fish-shell		    FISH_SVN_PROMPT(1)

NAME
       fish_svn_prompt - output	Subversion information for use in a prompt

SYNOPSIS
	  function fish_prompt
	       echo -n (pwd)(fish_svn_prompt) '$ '
	  end

DESCRIPTION
       The  fish_svn_prompt  function  displays	 information about the current
       Subversion repository, if any.

       Subversion (svn)	must be	installed.

       There are numerous customization	options, which can be controlled  with
       fish variables.

       o

	 $__fish_svn_prompt_color_revision
		the colour of the revision number to display in	the prompt

       o

	 $__fish_svn_prompt_char_separator
		the separator between status characters

       A  number  of  variables	 control  the  symbol  ("display")  and	 color
       ("color") for the different status indicators:

       o $__fish_svn_prompt_char_added_display

       o $__fish_svn_prompt_char_added_color

       o $__fish_svn_prompt_char_conflicted_display

       o $__fish_svn_prompt_char_conflicted_color

       o $__fish_svn_prompt_char_deleted_display

       o $__fish_svn_prompt_char_deleted_color

       o $__fish_svn_prompt_char_ignored_display

       o $__fish_svn_prompt_char_ignored_color

       o $__fish_svn_prompt_char_modified_display

       o $__fish_svn_prompt_char_modified_color

       o $__fish_svn_prompt_char_replaced_display

       o $__fish_svn_prompt_char_replaced_color

       o $__fish_svn_prompt_char_unversioned_external_display

       o $__fish_svn_prompt_char_unversioned_external_color

       o $__fish_svn_prompt_char_unversioned_display

       o $__fish_svn_prompt_char_unversioned_color

       o $__fish_svn_prompt_char_missing_display

       o $__fish_svn_prompt_char_missing_color

       o $__fish_svn_prompt_char_versioned_obstructed_display

       o $__fish_svn_prompt_char_versioned_obstructed_color

       o $__fish_svn_prompt_char_locked_display

       o $__fish_svn_prompt_char_locked_color

       o $__fish_svn_prompt_char_scheduled_display

       o $__fish_svn_prompt_char_scheduled_color

       o $__fish_svn_prompt_char_switched_display

       o $__fish_svn_prompt_char_switched_color

       o $__fish_svn_prompt_char_token_present_display

       o $__fish_svn_prompt_char_token_present_color

       o $__fish_svn_prompt_char_token_other_display

       o $__fish_svn_prompt_char_token_other_color

       o $__fish_svn_prompt_char_token_stolen_display

       o $__fish_svn_prompt_char_token_stolen_color

       o $__fish_svn_prompt_char_token_broken_display

       o $__fish_svn_prompt_char_token_broken_color

       See also	fish_vcs_prompt, which will call all supported version control
       prompt functions, including git,	Mercurial and Subversion.

EXAMPLE
       A simple	prompt that displays svn info:

	  function fish_prompt
	      ...
	      printf '%s %s$' $PWD (fish_svn_prompt)
	  end

COPYRIGHT
       2019, fish-shell	developers

3.1				 Aug 11, 2020		    FISH_SVN_PROMPT(1)

NAME | SYNOPSIS | DESCRIPTION | EXAMPLE | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=fish_svn_prompt&sektion=1&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help