Skip to content

A heavily reduced, ASCII-only version of the Spaceship and Starship prompts.

License

Notifications You must be signed in to change notification settings

zimfw/asciiship

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

asciiship

A heavily reduced, ASCII-only version of the Spaceship and Starship prompts.

What does it show?

  • On the top line:
    • Value of SHLVL when shell level is at least 2.
    • User name when root or in an SSH session.
    • Host name when in an SSH session.
    • Current directory.
    • Git information when you are in a git repo. This requires the git-info module, that can be customized with additional settings. The following information is shown:
      • Current branch name, or commit short hash when in 'detached HEAD' state.
      • Git action, when there's an operation in progress.
      • $ when there are stashed states.
      • ! when there are modified files.
      • + when there are staged files.
      • > and/or < when there are commits ahead and/or behind of remote, respectively.
    • Python venv indicator.
    • How long the last command took to execute. This requires the duration-info module, that can also be customized with additional settings.
  • On the bottom line:
    • * when there are background jobs running.
    • Exit code of last command, when it's not zero.
    • # when root, % otherwise.
    • Keymap indicator.

Requirements

Requires Zim's git-info module to show git information, and duration-info module to show the last command duration.

Releases

No releases published

Packages

No packages published

Languages