From d5229761580ef5238aa8546dd8c8e21483d11ffc Mon Sep 17 00:00:00 2001 From: Ahurac Date: Sat, 6 Jan 2024 17:42:37 +0100 Subject: [PATCH] =?UTF-8?q?zsh=20:=20mise=20=C3=A0=20jour=20configuration?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/zprofile | 9 ++------- home/zshrc | 15 ++------------- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/home/zprofile b/home/zprofile index 5d3fa3f..6f5bcb8 100644 --- a/home/zprofile +++ b/home/zprofile @@ -1,4 +1,5 @@ -# Lines added by ahurac +# Fastfetch +fastfetch # Prepenth the local bin directory to the path array typeset -U path PATH @@ -12,13 +13,7 @@ addpath() { addpath ~/.local/bin addpath ~/.local/share/qemu/bin -# Fastfetch -fastfetch - # Start Hyprland if the tty is 1 if [ "$(tty)" = /dev/tty1 ]; then exec Hyprland -else - true fi - diff --git a/home/zshrc b/home/zshrc index 78e41df..1f9dd46 100644 --- a/home/zshrc +++ b/home/zshrc @@ -64,17 +64,10 @@ fi # Custom the prompt autoload colors && colors -PROMPT=$'╭─[%F{magenta}%B%n@%m%f%b]──[%F{blue}%B%5~%b%f]──[%B%?%b]\n╰─[%# ' - -# Completion even with sudo -zstyle ':completion::complete:*' gain-privileges 1 +PROMPT=$'╭─[%F{magenta}%B%n@%m%f%b]──[%F{blue}%B%50<...<%5~%<<%b%f]──[%B%?%b]\n╰─[%B%j%b%# ' # Source more definitions -zshrc_d="$HOME/.zshrc.d" -[[ -d $zshrc_d ]] && for rc in "${zshrc_d}/"*; do -source "$rc" -done -unset zshrc_d +sourcefiles ~/.zshrc.d # Disable the vi-mode bindkey -e @@ -82,12 +75,8 @@ bindkey -e # Disable the autopushd feature unsetopt autopushd -# Set the umask -#umask 077 - # Case sensitive CASE_SENSITIVE="true" # zsh-vi-mode source /usr/share/zsh/plugins/zsh-vi-mode/zsh-vi-mode.plugin.zsh -