Here's a screenshot of minimal-path-git variant:
There are 4 variants:
- minimal: it loads only
minimal
module. - minimal-path: it loads
minimal
andpath
modules. - minimal-path-host: it loads
minimal
,path
andhost
modules. - minimal-path-git: it loads
minimal
,path
andgit
modules. - minimal-path-git-host: loads
minimal
,path
,git
andhost
modules
The left prompt is very discrete but useful:
❯❯❯
- The first
❯
will light up (becomes green) if you have super user privileges. - The second
❯
will light up (becomes green) if you have 1 or more background jobs. - The third
❯
will become green if the exit status of your last command is 0, otherwise will become red
It will show the last 2 segments of your current directory in the right
prompt.
Home directory is abbreviated with ~
.
❯❯❯ Workspace/minimal
It will display the hostname (up to the first .
) in the right prompt.
❯❯❯ Workspace/minimal SierraX
If you work with git, you will appreciate this.
It will show branch information in the right prompt.
The branch name will be red if is dirty, otherwise will be green.
❯❯❯ Workspace/minimal master
It shouldn't be hard to guess at this point, but here the example anyway.
❯❯❯ Workspace/minimal master SierraX
MIT (see LICENSE file)