From 53f5b74f4b1b7fa2cff27da657c6e405576471cf Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Sun, 14 Aug 2022 17:09:50 +0300 Subject: update zsh --- .zprofile | 2 +- .zshrc | 15 +++++++++++++-- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.zprofile b/.zprofile index c8c76b4..76cdef6 100644 --- a/.zprofile +++ b/.zprofile @@ -5,6 +5,6 @@ if [ -z "${DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then exec startx fi -export EDITOR="emacsclient" +export EDITOR="emacs" export TERMINAL="alacriy" export BROWSER="usr/bin/qutebrowser" diff --git a/.zshrc b/.zshrc index 347b521..74b9460 100644 --- a/.zshrc +++ b/.zshrc @@ -1,6 +1,12 @@ + +# Starting message +starting(){ + screenfetch | lolcat + echo "Welcome, $USER" | lolcat +} ### export PATH="$HOME/.emacs.d/bin:$PATH" - +fpath=(/home/apollo/.cache/paru/clone/zsh-completions-git/zsh-completions $fpath) ## PROMPT eval "$(starship init zsh)" # enable hook method @@ -40,7 +46,7 @@ alias ls='ls --color=auto' alias sb='sudo systemctl start bluetooth' alias mykeys='setxkbmap -option caps:escape' alias logout='pkill -U' -alias neofetch='neofetch | lolcat' +#alias neofetch='neofetch | lolcat' alias b='bluetoothctl' alias ba='bluetooth-autoconnect' @@ -95,3 +101,8 @@ zle -N down-line-or-beginning-search [[ -n "${key[Up]}" ]] && bindkey -- "${key[Up]}" up-line-or-beginning-search [[ -n "${key[Down]}" ]] && bindkey -- "${key[Down]}" down-line-or-beginning-search + +#Syntax highlight +source /home/apollo/.zsh_hl/zsh-syntax-highlighting.zsh + +starting -- cgit v1.2.3