Skip to content

Commit

Permalink
fix: .zshrc logging
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Doster <mvdoster@gmail.com>
  • Loading branch information
vladdoster committed Jan 14, 2023
1 parent d26de89 commit d348eb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zsh/.config/zsh/.zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ done
# +──────────────+
# │ SETUP EDITOR │
# +──────────────+
_log() { [[ $- == *i* ]] && print -P "%F{white}[INFO]%f %F{cyan}${1}%f%F{green}${2}%f"; }
_log() { [[ $- == *i* ]] && print -P "%F{green}==>%f %F{white}${1}${2}%f"; }
if has nvim && { nvim --headless --noplugin -c ':qall' }; then
EDITOR="nvim"
else
Expand All @@ -45,6 +45,7 @@ for i (v vi vim); do alias $i="$EDITOR"; done
typeset -g zle_highlight=(region:bg=black) # Highlight the background of the text when selecting.
bindkey -M menuselect 'h' vi-backward-char; bindkey -M menuselect 'k' vi-up-line-or-history
bindkey -M menuselect 'l' vi-forward-char; bindkey -M menuselect 'j' vi-down-line-or-history;
bindkey " " magic-space
# +──────────────────────+
# │ Changing Directories │
# +──────────────────────+
Expand Down

0 comments on commit d348eb6

Please sign in to comment.