Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- buildPromptWithConfig :: TerminalState
- resetPromptAtBeginning :: ShellOutput
- addGitRepoIndicator :: ShellOutput
- addNoTrackedUpstreamIndicator :: ShellOutput
- addMergeBranchCommits :: ShellOutput
- addLocalBranchName :: ShellOutput
- addLocalCommits :: ShellOutput
- addRepoState :: ShellOutput
- addStashes :: ShellOutput
- buildPrompt :: ShellOutput
Documentation
buildPromptWithConfig :: TerminalState Source #
From the state of the terminal (shell type + git info), builds a prompt to | display by accumulating data in a Writer and returning it