Try to speed up ZSH...
parent
0846273757
commit
1f5a29a525
4
.zshrc
4
.zshrc
|
@ -58,7 +58,7 @@ zstyle ':completion:*:*:docker-*:*' option-stacking yes
|
|||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
# Use Quick Term prompt theme made for Oh My Posh, in zsh
|
||||
eval "$(oh-my-posh init zsh --config https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/quick-term.omp.json)"
|
||||
eval "$(oh-my-posh init zsh --config ~/.config/theme/quick-term.omp.json)"
|
||||
|
||||
# And use Catppuccin Mocha theme for ZSH fast hightlight plugin (LOCAL means searching in /usr/local/share/fsh)
|
||||
fast-theme LOCAL:catppuccin-mocha >/dev/null
|
||||
|
@ -72,7 +72,6 @@ DEFAULT_USER=`whoami`
|
|||
# To use when .cfg contains a bare git repo.
|
||||
# See this https://developer.atlassian.com/blog/2016/02/best-way-to-store-dotfiles-git-bare-repo/
|
||||
alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
|
||||
config config --local status.showUntrackedFiles no
|
||||
|
||||
# Use GPG key for SSH authentication
|
||||
unset SSH_AGENT_PID
|
||||
|
@ -80,7 +79,6 @@ if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
|
|||
export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"
|
||||
fi
|
||||
export GPG_TTY="$(tty)"
|
||||
gpg-connect-agent updatestartuptty /bye >/dev/null
|
||||
|
||||
# Source aliases
|
||||
if [ -f ~/.aliases ]; then
|
||||
|
|
Loading…
Reference in New Issue