Skip to content

Commit

Permalink
add docs about prompt coloring
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry committed May 17, 2019
1 parent adfc788 commit e19d009
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,10 @@ sudo apt-get install -y docker-ce=18.06.3~ce~3-0~ubuntu
```
curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
```
```

## CLI Promt with colored username and host (Like in hetzner)
```
export PROMPT='${ret_status} $fg[red]%}$USER$fg[yellow]%}@$fg[cyan]%}%m %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
```
Append to `~/.ssh/zshrc` file

0 comments on commit e19d009

Please sign in to comment.