From 23fe092d7f495b7d1eaa4a9c04fbbacad3fb70de Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Tue, 12 Mar 2019 16:01:30 +0100 Subject: [PATCH] move scripts to script directory --- .config/{zsh/scripts => scripts/bin}/syu | 0 .config/{zsh/scripts => scripts/bin}/tm | 0 .config/{zsh/scripts => scripts/bin}/umpv | 0 .config/{ => scripts}/bootstrap/install.sh | 0 .config/{ => scripts}/bootstrap/pkg/base.csv | 0 .config/{ => scripts}/bootstrap/pkg/dev.csv | 0 .config/{ => scripts}/bootstrap/pkg/media.csv | 0 .config/{ => scripts}/bootstrap/pkg/network.csv | 0 .config/{ => scripts}/bootstrap/pkg/shell.csv | 0 .config/{ => scripts}/bootstrap/pkg/untested.csv | 0 .config/{ => scripts}/bootstrap/pkg/x.csv | 0 .zshrc | 4 +++- 12 files changed, 3 insertions(+), 1 deletion(-) rename .config/{zsh/scripts => scripts/bin}/syu (100%) rename .config/{zsh/scripts => scripts/bin}/tm (100%) rename .config/{zsh/scripts => scripts/bin}/umpv (100%) rename .config/{ => scripts}/bootstrap/install.sh (100%) rename .config/{ => scripts}/bootstrap/pkg/base.csv (100%) rename .config/{ => scripts}/bootstrap/pkg/dev.csv (100%) rename .config/{ => scripts}/bootstrap/pkg/media.csv (100%) rename .config/{ => scripts}/bootstrap/pkg/network.csv (100%) rename .config/{ => scripts}/bootstrap/pkg/shell.csv (100%) rename .config/{ => scripts}/bootstrap/pkg/untested.csv (100%) rename .config/{ => scripts}/bootstrap/pkg/x.csv (100%) diff --git a/.config/zsh/scripts/syu b/.config/scripts/bin/syu similarity index 100% rename from .config/zsh/scripts/syu rename to .config/scripts/bin/syu diff --git a/.config/zsh/scripts/tm b/.config/scripts/bin/tm similarity index 100% rename from .config/zsh/scripts/tm rename to .config/scripts/bin/tm diff --git a/.config/zsh/scripts/umpv b/.config/scripts/bin/umpv similarity index 100% rename from .config/zsh/scripts/umpv rename to .config/scripts/bin/umpv diff --git a/.config/bootstrap/install.sh b/.config/scripts/bootstrap/install.sh similarity index 100% rename from .config/bootstrap/install.sh rename to .config/scripts/bootstrap/install.sh diff --git a/.config/bootstrap/pkg/base.csv b/.config/scripts/bootstrap/pkg/base.csv similarity index 100% rename from .config/bootstrap/pkg/base.csv rename to .config/scripts/bootstrap/pkg/base.csv diff --git a/.config/bootstrap/pkg/dev.csv b/.config/scripts/bootstrap/pkg/dev.csv similarity index 100% rename from .config/bootstrap/pkg/dev.csv rename to .config/scripts/bootstrap/pkg/dev.csv diff --git a/.config/bootstrap/pkg/media.csv b/.config/scripts/bootstrap/pkg/media.csv similarity index 100% rename from .config/bootstrap/pkg/media.csv rename to .config/scripts/bootstrap/pkg/media.csv diff --git a/.config/bootstrap/pkg/network.csv b/.config/scripts/bootstrap/pkg/network.csv similarity index 100% rename from .config/bootstrap/pkg/network.csv rename to .config/scripts/bootstrap/pkg/network.csv diff --git a/.config/bootstrap/pkg/shell.csv b/.config/scripts/bootstrap/pkg/shell.csv similarity index 100% rename from .config/bootstrap/pkg/shell.csv rename to .config/scripts/bootstrap/pkg/shell.csv diff --git a/.config/bootstrap/pkg/untested.csv b/.config/scripts/bootstrap/pkg/untested.csv similarity index 100% rename from .config/bootstrap/pkg/untested.csv rename to .config/scripts/bootstrap/pkg/untested.csv diff --git a/.config/bootstrap/pkg/x.csv b/.config/scripts/bootstrap/pkg/x.csv similarity index 100% rename from .config/bootstrap/pkg/x.csv rename to .config/scripts/bootstrap/pkg/x.csv diff --git a/.zshrc b/.zshrc index 672ce74..3d8199a 100644 --- a/.zshrc +++ b/.zshrc @@ -15,6 +15,8 @@ # #### +autoload zmv + ## Show debug information # # ZSH_SETUP_SHOW_DEBUG="true" @@ -144,7 +146,7 @@ load_config_files $ZSH_CONFIG_DIR 3456789 # fi # put personal scripts on the PATH to be callable -export PATH="$(du $ZSH_CONFIG_DIR/scripts/ | cut -f2 | tr '\n' ':')$PATH" +export PATH="$(du $XDG_CONFIG_HOME/scripts/bin | cut -f2 | tr '\n' ':')$PATH" unset ZSH_CONFIG_DIR # unset ZGEN_DIR -- Needs to remain set for some plugins to function