aboutsummaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-23 10:51:33 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-23 10:51:33 +1200
commit90defbe50e61b2e3c85cfc919f9f0c430c1b251c (patch)
treefee4adc83c1a1828e64c06032b6b8445a836792a /README.markdown
parentInclude username in tmux status-right (diff)
downloaddotfiles-90defbe50e61b2e3c85cfc919f9f0c430c1b251c.tar.gz
dotfiles-90defbe50e61b2e3c85cfc919f9f0c430c1b251c.zip
Update README to reflect new prompt behaviour
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown13
1 files changed, 8 insertions, 5 deletions
diff --git a/README.markdown b/README.markdown
index 5e37ec6b..ff73a498 100644
--- a/README.markdown
+++ b/README.markdown
@@ -128,17 +128,20 @@ defaults for interactive behavior.
A terminal session with my prompt looks something like this:
- tom@conan:~/.dotfiles(master+!)$ git status
+ ~$ ssh remote
+ tom@remote:~$ cd .dotfiles
+ tom@remote:~/.dotfiles(master+!)$ git status
M README.markdown
M bash/bashrc.d/prompt.bash
A init
- tom@conan:~/.dotfiles(master+!)$ foobar
+ tom@remote:~/.dotfiles(master+!)$ foobar
foobar: command not found
- tom@conan:~/.dotfiles(master+!)<127>$ sleep 5 &
+ tom@remote:~/.dotfiles(master+!)<127>$ sleep 5 &
[1] 28937
- tom@conan:~/.dotfiles(master+!){1}$
+ tom@remote:~/.dotfiles(master+!){1}$
-It expands based on context to include these elements in this order:
+The username and hostname are skipped if not connected via SSH. The right side
+of the prompt expands based on context to include these elements in this order:
* Whether in a Git repository if applicable, and punctuation to show
repository status including reference to upstreams at a glance. Subversion