dsflkjsd
This commit is contained in:
parent
fd4e7605b6
commit
cb9633380e
2 changed files with 3 additions and 6 deletions
|
@ -16,6 +16,9 @@ elif [[ "$path_no_ghostty" == *"/nix/store"* ]]; then
|
||||||
local nix_shell_ps1="$nix_shell_ps1_t"
|
local nix_shell_ps1="$nix_shell_ps1_t"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
setopt prompt_subst
|
||||||
|
autoload -Uz vcs_info
|
||||||
|
precmd () { vcs_info }
|
||||||
zstyle ':vcs_info:*' formats " ${c34}${c0}${c31}(%b)${c0}"
|
zstyle ':vcs_info:*' formats " ${c34}${c0}${c31}(%b)${c0}"
|
||||||
|
|
||||||
export PS1="${c38}[${c35}%3~${c0}${vcs_info_msg_0_}${nix_shell_ps1}${c38}]${c0}# "
|
export PS1="${c38}[${c35}%3~${c0}${vcs_info_msg_0_}${nix_shell_ps1}${c38}]${c0}# "
|
||||||
|
|
|
@ -54,12 +54,6 @@
|
||||||
tree = "tre";
|
tree = "tre";
|
||||||
};
|
};
|
||||||
|
|
||||||
initExtraBeforeCompInit = ''
|
|
||||||
setopt prompt_subst
|
|
||||||
autoload -Uz vcs_info
|
|
||||||
precmd () { vcs_info }
|
|
||||||
'';
|
|
||||||
|
|
||||||
initExtra = ''
|
initExtra = ''
|
||||||
alias -g -- -h='-h 2>&1 | bat --language=help --style=plain'
|
alias -g -- -h='-h 2>&1 | bat --language=help --style=plain'
|
||||||
alias -g -- --help='--help 2>&1 | bat --language=help --style=plain'
|
alias -g -- --help='--help 2>&1 | bat --language=help --style=plain'
|
||||||
|
|
Loading…
Add table
Reference in a new issue