diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-08-13 14:31:44 +0200 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-08-13 14:31:44 +0200 |
commit | 1e8ec5104058f5cbb15728f68cd9e6a71892978e (patch) | |
tree | a33869636a193ff1bdedc16e9e338fec2350cbda /zsh | |
parent | f63613682351ec610ffd8eab247aaa4a7dabe538 (diff) | |
parent | 48f25f5db532059be55469da89fcfaa068a0e2d5 (diff) |
Merge branch 'master' of urbainvaes.com:public/dotfiles
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ ## startx automatically {{{ -[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx +[[ -z $DISPLAY && -z $SSH_CONNECTION && $XDG_VTNR -eq 1 ]] && exec startx # }}} ## Bindings {{{ bindkey -v @@ -41,7 +41,7 @@ autoload -U select-word-style select-word-style bash # Prompt -if [[ -n $SSH_CLIENT ]]; then +if [[ -n $SSH_CONNECTION ]]; then PROMPT='%F{red}[%M]%f %0~ $ ' else PROMPT='%0~ $ ' |