From 785af9664c53346e6ffef300d0571f4b2ce4e8a6 Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Mon, 18 Nov 2024 10:07:28 +0100 Subject: checkpoint --- config/essentials/zsh/.zshrc | 9 --------- config/essentials/zsh/widgets.zsh | 1 + 2 files changed, 1 insertion(+), 9 deletions(-) (limited to 'config/essentials/zsh') 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 } -- cgit v1.2.3