From a08d5688d5b505e00f72716494f031751a13643f Mon Sep 17 00:00:00 2001 From: Geoffrey Frogeye Date: Fri, 9 Oct 2015 18:45:44 +0200 Subject: [PATCH] Test your scripts kids --- bashrc | 11 +++++------ scripts/index.sh | 1 + scripts/{lopac.sh => lopac.sh.wip} | 0 3 files changed, 6 insertions(+), 6 deletions(-) create mode 100644 scripts/index.sh rename scripts/{lopac.sh => lopac.sh.wip} (100%) mode change 100644 => 100755 diff --git a/bashrc b/bashrc index 812b0c1..a4f3592 100644 --- a/bashrc +++ b/bashrc @@ -1,11 +1,10 @@ # Custom scripts -find -type f ~/.scripts | while read script; do - source "$script" -done -find -type f ~/.gscripts | while read script; do - source "$script" -done +#find ~/.scripts/ ~/.gscripts/ -type f -name "*.sh" | while read script; do + #source "$script" +#done +source ~/.scripts/index.sh +source ~/.gscripts/index.sh # Prompt if [[ $USER == 'root' ]]; then diff --git a/scripts/index.sh b/scripts/index.sh new file mode 100644 index 0000000..2ff4ca7 --- /dev/null +++ b/scripts/index.sh @@ -0,0 +1 @@ +source ~/.scripts/proxy.sh diff --git a/scripts/lopac.sh b/scripts/lopac.sh.wip old mode 100644 new mode 100755 similarity index 100% rename from scripts/lopac.sh rename to scripts/lopac.sh.wip