zsh: switched to antidote
This commit is contained in:
parent
3323093db4
commit
8f7e42c661
2 changed files with 32 additions and 22 deletions
|
|
@ -74,3 +74,5 @@
|
||||||
fsckobjects = true
|
fsckobjects = true
|
||||||
[user]
|
[user]
|
||||||
name = Tobias Schmidl
|
name = Tobias Schmidl
|
||||||
|
[fetch "fsck"]
|
||||||
|
zeroPaddedFilemode = warn
|
||||||
|
|
|
||||||
52
.zshrc
52
.zshrc
|
|
@ -5,42 +5,50 @@ setopt HIST_IGNORE_SPACE
|
||||||
setopt HIST_FIND_NO_DUPS
|
setopt HIST_FIND_NO_DUPS
|
||||||
setopt HIST_SAVE_NO_DUPS
|
setopt HIST_SAVE_NO_DUPS
|
||||||
|
|
||||||
zstyle :omz:plugins:keychain agents gpg,ssh
|
zstyle ':omz:plugins:keychain' agents gpg,ssh
|
||||||
zstyle :omz:plugins:keychain options --quiet
|
zstyle ':omz:plugins:keychain' options --quiet
|
||||||
zstyle :omz:plugins:ssh-agent agent-forwarding yes
|
zstyle ':omz:plugins:ssh-agent' agent-forwarding yes
|
||||||
zstyle :omz:plugins:ssh-agent lazy yes
|
zstyle ':omz:plugins:ssh-agent' lazy yes
|
||||||
zstyle :omz:plugins:ssh-agent lifetime 8h
|
zstyle ':omz:plugins:ssh-agent' lifetime 8h
|
||||||
|
zstyle ':antidote:bundle' use-friendly-names 'yes'
|
||||||
|
|
||||||
source $HOME/.local/lib/zsh/antigen/bin/antigen.zsh
|
# Clone antidote if necessary.
|
||||||
antigen use oh-my-zsh
|
[[ -e "${HOME}/.antidote" ]] || git clone https://github.com/mattmc3/antidote.git "${HOME}/.antidote"
|
||||||
antigen bundles <<EOBUNDLES
|
|
||||||
command-not-found
|
# Source antidote.
|
||||||
common-aliases
|
source "${HOME}/.antidote/antidote.zsh"
|
||||||
debian
|
source <(antidote init)
|
||||||
direnv
|
|
||||||
git
|
antidote bundle <<EOBUNDLES
|
||||||
git-extras
|
getantidote/use-omz
|
||||||
gpg-agent
|
mattmc3/zfunctions
|
||||||
keychain
|
ohmyzsh/ohmyzsh path:lib
|
||||||
pip
|
ohmyzsh/ohmyzsh path:plugins/command-not-found
|
||||||
tmux
|
ohmyzsh/ohmyzsh path:plugins/common-aliases
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/debian
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/direnv
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/git
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/git-extras
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/gpg-agent
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/keychain
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/pip
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/tmux
|
||||||
MichaelAquilina/zsh-you-should-use
|
MichaelAquilina/zsh-you-should-use
|
||||||
svenXY/timewarrior
|
svenXY/timewarrior
|
||||||
voronkovich/gitignore.plugin.zsh
|
voronkovich/gitignore.plugin.zsh
|
||||||
zlsun/solarized-man
|
zlsun/solarized-man
|
||||||
https://git.schmidl.dev/schtobia/zsh
|
https://git.schmidl.dev/schtobia/zsh
|
||||||
$HOME/.local/lib/zsh/custom-zsh
|
|
||||||
zsh-users/zsh-autosuggestions
|
zsh-users/zsh-autosuggestions
|
||||||
zsh-users/zsh-completions
|
zsh-users/zsh-completions
|
||||||
zsh-users/zsh-syntax-highlighting
|
zsh-users/zsh-syntax-highlighting
|
||||||
|
ohmyzsh/ohmyzsh path:themes/gallifrey.zsh-theme
|
||||||
EOBUNDLES
|
EOBUNDLES
|
||||||
antigen theme gallifrey
|
|
||||||
antigen apply
|
|
||||||
|
|
||||||
source "$HOME/.local/bin/generate-env"
|
source "$HOME/.local/bin/generate-env"
|
||||||
emulate sh -c '. ~/.profile'
|
emulate sh -c '. ~/.profile'
|
||||||
|
|
||||||
chpwd() { exa }
|
autoload -U add-zsh-hook
|
||||||
|
add-zsh-hook -Uz chpwd() { exa }
|
||||||
ZSH_AUTOSUGGEST_STRATEGY=match_prev_cmd
|
ZSH_AUTOSUGGEST_STRATEGY=match_prev_cmd
|
||||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=10'
|
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=10'
|
||||||
bindkey '^ ' autosuggest-accept
|
bindkey '^ ' autosuggest-accept
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue