diff options
Diffstat (limited to 'config/essentials/zsh')
-rw-r--r-- | config/essentials/zsh/.zshrc | 9 | ||||
-rw-r--r-- | config/essentials/zsh/widgets.zsh | 1 |
2 files changed, 1 insertions, 9 deletions
diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc index 85f213d..d44eb11 100644 --- a/config/essentials/zsh/.zshrc +++ b/config/essentials/zsh/.zshrc @@ -2,15 +2,6 @@ # zmodload zsh/zprof -if [ "$(id -u)" -ne 0 ] -then - [ "${TTY%%tty*}" = '/dev/' ] && clear - case "${TTY#/dev/tty}" in - 2) exec startx > /dev/null 2>&1 ;; - *) false ;; - esac && exit -fi - autoload -U select-word-style autoload -z edit-command-line zle -N edit-command-line diff --git a/config/essentials/zsh/widgets.zsh b/config/essentials/zsh/widgets.zsh index a7f8067..dd42788 100644 --- a/config/essentials/zsh/widgets.zsh +++ b/config/essentials/zsh/widgets.zsh @@ -21,6 +21,7 @@ toggle_prompt() { eval "$(starship init zsh)" else PS1="$new_prompt" + RPROMPT="" fi zle clear-screen } |