From f40d64d08d408f03e5584783ab2a466b289e7160 Mon Sep 17 00:00:00 2001 From: ulbee Date: Thu, 18 Jul 2024 17:49:56 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=20=D0=B0=D0=BB=D0=B8=D0=B0=D1=81;=20=D1=84=D0=BE=D1=80?= =?UTF-8?q?=D0=BC=D0=B0=D1=82=D0=B8=D1=80=D0=BE=D0=B2=D0=B0=D0=BD=D0=B8?= =?UTF-8?q?=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .zshrc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.zshrc b/.zshrc index d23ed79..dac9fb6 100644 --- a/.zshrc +++ b/.zshrc @@ -5,7 +5,7 @@ fpath+='/opt/homebrew/share/zsh/site-functions' source $(brew --prefix)/opt/antidote/share/antidote/antidote.zsh antidote load -source <(cod init $$ zsh) +# source <(cod init $$ zsh) [[ $TERM_PROGRAM == 'iTerm.app' ]] && source ~/.iterm2_shell_integration.zsh @@ -170,6 +170,7 @@ current_vcs() { alias co='$CURRENT_VCS checkout' alias pu='$CURRENT_VCS push' alias br='$CURRENT_VCS branch' + alias sq='$CURRENT_VCS squash' case "$CURRENT_VCS" in git) alias p='git pull main' @@ -185,7 +186,7 @@ current_vcs() { ZSH_PROMPT_TOP_LEFT() { echo "%{$([ ${+functions[iterm2_prompt_mark]} -eq 1 ] && iterm2_prompt_mark)%}%F{yellow}%~%f"} ZSH_PROMPT_TOP_RIGHT() { echo $CURRENT_VCS_BRANCH } -ZSH_PROMPT_BOTTOM_LEFT() { echo "%F{%(?.green.red)}%(!. .➤)%f " } +ZSH_PROMPT_BOTTOM_LEFT() { echo "%F{%(?.green.red)}%(!. .󰜴)%f " } ZSH_PROMPT_BOTTOM_RIGHT() { echo '' } export ZSH_THEME_GIT_PROMPT_PREFIX='%B ' export ZSH_THEME_GIT_PROMPT_SUFFIX='%b%f' @@ -222,7 +223,7 @@ export FZF_DEFAULT_BASE_OPTS=" \ --ansi \ --min-height=9 \ --border='rounded' --border-label='' --preview-window='border-rounded' \ - --prompt='➤' --marker='' --pointer='◆' --separator='─' --scrollbar='❚'" + --prompt='󰜴 ' --marker='' --pointer='◆' --separator='─' --scrollbar='❚'" _fzf_compgen_path() { # eza --icons=always --color=always -1ad --absolute "$1" @@ -386,7 +387,7 @@ zstyle ':fzf-tab:*' accept-line enter eval "$(zoxide init zsh)" -source $HOME/.config/broot/launcher/bash/br +# source $HOME/.config/broot/launcher/bash/br # Dark and light modes