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 -