separate completions functions
This commit is contained in:
parent
c1484b5312
commit
8e067be0b1
3 changed files with 9 additions and 8 deletions
3
hybris.completions
Normal file
3
hybris.completions
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# Some completions
|
||||
compctl -K _completemarks j
|
||||
compdef _path_commands catwhich
|
||||
|
|
@ -40,7 +40,3 @@ export PATH=$HOME/.scripts:$PATH
|
|||
export READNULLCMD=${PAGER:-/usr/bin/pager}
|
||||
export WATCH=all
|
||||
export WATCHFMT="%n has %a %l from %M"
|
||||
|
||||
# Some completions
|
||||
compctl -K _completemarks j
|
||||
compdef _path_commands catwhich
|
||||
|
|
|
|||
10
zshrc
10
zshrc
|
|
@ -7,12 +7,14 @@ source "${HOME}/.zgen/zgen.zsh"
|
|||
# Plugins and configuration generator #
|
||||
#######################################
|
||||
if ! zgen saved; then
|
||||
# Personnal configuration
|
||||
# Configuration
|
||||
zgen load hybris42/zsh ${USER}.zsh
|
||||
# Theme
|
||||
zgen load hybris42/zsh ${USER}.theme
|
||||
|
||||
# Personnal plugins
|
||||
source ${HOME}/.zgen/hybris42/zsh-master/hybris.plugins
|
||||
# Plugins
|
||||
zgen load hybris42/zsh ${USER}.plugins
|
||||
# Completions
|
||||
zgen load hybris42/zsh ${USER}.completions
|
||||
|
||||
# generate the init script from plugins above
|
||||
zgen save
|
||||
|
|
|
|||
Loading…
Reference in a new issue