diff --git a/.gitmodules b/.gitmodules index 14c7fd0..4272994 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,3 +4,6 @@ [submodule "zsh/modules/zsh-syntax-highlighting"] path = zsh/modules/zsh-syntax-highlighting url = https://github.com/zsh-users/zsh-syntax-highlighting.git +[submodule "zsh/modules/wd"] + path = zsh/modules/wd + url = https://github.com/mfaerevaag/wd.git diff --git a/zsh/.zshrc b/zsh/.zshrc index e609d5f..a1952e2 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -32,6 +32,10 @@ fi # plugins source $ZDOTDIR/modules/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh +export WD_CONFIG=$XDG_CONFIG_HOME/wd_list +wd () { + . $ZDOTDIR/modules/wd/wd.sh +} # theme source $ZDOTDIR/p10k.zsh diff --git a/zsh/modules/wd b/zsh/modules/wd new file mode 160000 index 0000000..38afa73 --- /dev/null +++ b/zsh/modules/wd @@ -0,0 +1 @@ +Subproject commit 38afa73ca85a557aef89438ad9fd60b5b41cdbc7