Added directory configuration to plug

This commit is contained in:
James Patrick 2019-08-08 22:07:04 -04:00
parent 74146fa0c4
commit 439f070b94
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,8 @@
#!/usr/bin/env zsh
setopt AUTO_CD # Auto changes to a directory without typing cd.
setopt AUTO_PUSHD # Push the old directory onto the stack on cd.
setopt PUSHD_IGNORE_DUPS # Do not store duplicates in the stack.
setopt PUSHD_SILENT # Do not print the directory stack after pushd or popd.
setopt PUSHD_TO_HOME # Push to home directory when no argument is given.
setopt CDABLE_VARS # Change directory to a path stored in a variable.

View File

@ -33,6 +33,7 @@ zplug "${ZDIR}/modules/fzf/", \
from:local, \ from:local, \
use:"fzf.zsh", \ use:"fzf.zsh", \
as:plugin as:plugin
zplug "${ZDIR}/modules/fzf/", \ zplug "${ZDIR}/modules/fzf/", \
from:local, \ from:local, \
use:"fzf-tmux", \ use:"fzf-tmux", \
@ -42,6 +43,10 @@ zplug "${ZDIR}/modules/history/", \
from:local, \ from:local, \
as:plugin as:plugin
zplug "${ZDIR}/modules/directory/", \
from:local, \
as:plugin
zplug "${ZDIR}/modules/complete/", \ zplug "${ZDIR}/modules/complete/", \
from:local, \ from:local, \
as:plugin as:plugin