Skip to content

Commit

Permalink
Minor update README
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolodiamante committed Oct 31, 2022
1 parent 01f2e1c commit 56f6722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This prompt was developed to work well with the default Apple Terminal in mind.

### Design

The basic zsh prompt configuration works similarly to bash, even though it uses a different syntax. The default bash prompt on macOS is quite elaborate. The zsh default prompt is far shorter than the bash default and even less helpful. Since I work on the local system most of the time, the hostname bears no helpful information to be repeating in every line, becoming superfluous, instead, I wanted it to show just the current working directory following the git branch and its status (if inside a repository). The prompt also shows the condition for the previous commands' exit turning green when the previous command is successfully (exit code zero) and red when the previous command failed (non-zero exit code).
The basic zsh prompt configuration works similarly to bash, even though it uses a different syntax. The default bash prompt on macOS is quite elaborate. The zsh default prompt is far shorter than the bash default and even less helpful. Since I work on the local system most of the time, the hostname bears no helpful information to be repeating in every line, becoming superfluous, instead, I wanted it to show just the current working directory following the git branch and its status (if inside a repository). The prompt also shows the condition for the previous commands' exit turning green when the previous command is successful (exit code zero) and red when the previous command failed (non-zero exit code).
<br/><br/>

### Highlights
Expand Down

0 comments on commit 56f6722

Please sign in to comment.