diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-11-30 10:24:20 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-11-30 10:24:20 +1300 |
commit | cf8239d36adc1346a46058d05992d3310e27cc02 (patch) | |
tree | 7dd83e694acc67741a191de1575bb2d25b52cf1f /README.markdown | |
parent | Remove custom ^W binding (diff) | |
download | dotfiles-cf8239d36adc1346a46058d05992d3310e27cc02.tar.gz dotfiles-cf8239d36adc1346a46058d05992d3310e27cc02.zip |
Add > signs to show shell indentation level
This needs extension to handle tmux sessions; it should be something
like SHLVL - TMUX_SHLVL, which I'm not quite sure how to implement yet.
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/README.markdown b/README.markdown index b2fab759..ec6ef7a4 100644 --- a/README.markdown +++ b/README.markdown @@ -127,15 +127,16 @@ A terminal session with my prompt looks something like this: ~$ ssh remote tom@remote:~$ cd .dotfiles - tom@remote:~/.dotfiles(master+!)$ git status + tom@remote:~$ bash + >tom@remote:~/.dotfiles(master+!)$ git status M README.markdown M bash/bashrc.d/prompt.bash A init - tom@remote:~/.dotfiles(master+!)$ foobar + >tom@remote:~/.dotfiles(master+!)$ foobar foobar: command not found - tom@remote:~/.dotfiles(master+!)<127>$ sleep 5 & + >tom@remote:~/.dotfiles(master+!)<127>$ sleep 5 & [1] 28937 - tom@remote:~/.dotfiles(master+!){1}$ + >tom@remote:~/.dotfiles(master+!){1}$ The username and hostname are elided if not connected via SSH. The working directory is always shown. The rest of the prompt expands based on context to |