Make prompt character depend on whether in tty
This commit is contained in:
parent
313f5bc240
commit
4493e70c3f
@ -55,7 +55,11 @@ function prompt_ianonavy_setup {
|
||||
|
||||
# Set editor-info params
|
||||
zstyle ':prezto:module:editor:info:completing' format '${_prompt_ianonavy_colors[5]}...${_prompt_ianonavy_nocolor}'
|
||||
zstyle ':prezto:module:editor:info:keymap:primary' format '➤'
|
||||
if tty | fgrep pts >/dev/null ; then
|
||||
zstyle ':prezto:module:editor:info:keymap:primary' format '➤'
|
||||
else
|
||||
zstyle ':prezto:module:editor:info:keymap:primary' format '>'
|
||||
fi
|
||||
zstyle ':prezto:module:editor:info:keymap:primary:overwrite' format '♺'
|
||||
zstyle ':prezto:module:editor:info:keymap:alternate' format '⍟'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user