FISH_DARCS_PROMPT(1)

πŸ“¦
version 4.9.3 Β· 3 versions
, in arch rolling

πŸ’– NAME πŸ’–

okay so this is the fish_darcs_prompt(1) page from the fish-shell manual, bestie β€” and fish_darcs_prompt is the function that outputs Darcs information for use in a prompt. ✨

🌸 SYNOPSIS 🌸

          function fish_prompt
               printf '%s' $PWD (fish_darcs_prompt) ' $ '
          end

πŸ¦‹ DESCRIPTION πŸ¦‹

The fish_darcs_prompt function displays information about the current Darcs repository, if any. 🫢

Darcs (https://darcs.net/) must be installed. no cap.

The prompt always shows the VCS name β€” configurable via $fish_prompt_darcs_name, default darcs β€” as there are no branches/channels; it can be unset to remove it entirely. If the repository has unrecorded changes, status counts are shown for each change type:

  • $fish_color_darcs_normal, default green β€” the prompt label color πŸ’š
  • $fish_color_darcs_rebasing, default yellow β€” used when a rebase is in progress πŸ’›

To match Darcs’s logo green:

set fish_color_darcs_normal 72ff01

The Darcs status symbols:

  • $fish_prompt_darcs_status_added, default +
  • $fish_prompt_darcs_status_modified, default *
  • $fish_prompt_darcs_status_removed, default -
  • $fish_prompt_darcs_status_moved, default β†’
  • $fish_prompt_darcs_status_untracked, default …
  • $fish_prompt_darcs_status_conflict, default !

Colors for these symbols can be set with the corresponding variables ($fish_color_darcs_added & so on), which are unset by default so the terminal’s foreground color is used. πŸŽ€

$fish_prompt_darcs_status_order can be used to change the order the status symbols appear in. It defaults to added removed modified moved conflict untracked.

See also fish_vcs_prompt <>, which will call all supported version control prompt functions, including Git, Mercurial, & Darcs.

🌈 EXAMPLE 🌈

A simple prompt that displays darcs info:

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

Copyright: fish-shell developers.


πŸ’– that’s the whole page, bestie β€” fish-shell 4.9, dated Sep 08, 2026, mwah πŸ’–

πŸ“¦ where this page comes from
  • arch rolling: fish 4.9.3-1 Β· GPL-2.0-only AND BSD-3-Clause AND ISC AND MIT AND PSF-2.0
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms