63 lines
1.8 KiB
Text
63 lines
1.8 KiB
Text
# https://github.com/romkatv/zsh4humans/blob/v5/README.md (tmux: integrated, system, no)
|
|
zstyle ':z4h:' start-tmux 'no'
|
|
|
|
# keyboard setting
|
|
zstyle ':z4h:bindkey' keyboard 'pc'
|
|
zstyle ':z4h:autosuggestions' forward-char 'accept'
|
|
zstyle ':z4h:fzf-complete' recurse-dirs 'no'
|
|
|
|
# automatic teleportation of z4h to ssh (yes, no) example: zstyle ':z4h:ssh:pxm' enable 'yes'
|
|
zstyle ':z4h:ssh:*' enable 'no'
|
|
|
|
# direnv enable
|
|
zstyle ':z4h:direnv' enable 'yes'
|
|
zstyle ':z4h:direnv:success' notify 'no'
|
|
|
|
# install plugins
|
|
z4h install ohmyzsh/ohmyzsh || return
|
|
z4h install urbainvaes/fzf-marks || return
|
|
z4h install mroth/evalcache || return
|
|
z4h install trapd00r/LS_COLORS || return
|
|
z4h install zpm-zsh/colorize || return
|
|
z4h install desyncr/auto-ls || return
|
|
|
|
# initialize z4h
|
|
z4h init || return
|
|
|
|
# exports
|
|
z4h source -c $HOME/.config/zsh/export.zsh
|
|
z4h source -c $HOME/.config/local/export.zsh
|
|
|
|
# libraries (ohmyzsh)
|
|
for l in 'history' 'completion' 'directories' 'clipboard' 'grep'; do z4h source -c $OML/$l.zsh; done
|
|
|
|
# plugins (ohmyzsh)
|
|
for p in 'command-not-found' 'extract' 'systemd'; do z4h source -c $OMP/$p/$p.plugin.zsh; done
|
|
|
|
# plugins (self)
|
|
z4h source -c $Z4H/urbainvaes/fzf-marks/fzf-marks.plugin.zsh
|
|
z4h source -c $Z4H/mroth/evalcache/evalcache.plugin.zsh
|
|
z4h source -c $Z4H/zpm-zsh/colorize/colorize.plugin.zsh
|
|
|
|
# eval stuff
|
|
z4h source -c $HOME/.config/zsh/evalcache.zsh
|
|
z4h source -c $HOME/.config/local/evalcache.zsh
|
|
|
|
# aliases
|
|
z4h source -c $HOME/.config/zsh/aliases.zsh
|
|
z4h source -c $HOME/.config/local/aliases.zsh
|
|
|
|
# key bindings
|
|
z4h source -c $HOME/.config/zsh/keybinds.zsh
|
|
z4h source -c $HOME/.config/local/keybinds.zsh
|
|
|
|
# ssh stuff
|
|
z4h source -c $HOME/.config/zsh/sshagent.zsh
|
|
z4h source -c $HOME/.config/zsh/sshcompfix.zsh
|
|
|
|
# named directories
|
|
z4h source -c $HOME/.config/zsh/dirs.zsh
|
|
z4h source -c $HOME/.config/local/dirs.zsh
|
|
|
|
# localrc
|
|
z4h source -c $HOME/.config/local/rc.zsh
|