diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-23 10:51:33 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-23 10:51:33 +1200 |
commit | 90defbe50e61b2e3c85cfc919f9f0c430c1b251c (patch) | |
tree | fee4adc83c1a1828e64c06032b6b8445a836792a | |
parent | Include username in tmux status-right (diff) | |
download | dotfiles-90defbe50e61b2e3c85cfc919f9f0c430c1b251c.tar.gz dotfiles-90defbe50e61b2e3c85cfc919f9f0c430c1b251c.zip |
Update README to reflect new prompt behaviour
-rw-r--r-- | README.markdown | 13 |
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 |