aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bashrc.d/shellrc2
-rwxr-xr-xinstall8
-rw-r--r--zshrc.d/shellrc2
3 files changed, 6 insertions, 6 deletions
diff --git a/bashrc.d/shellrc b/bashrc.d/shellrc
index 9aef21c..e938444 100644
--- a/bashrc.d/shellrc
+++ b/bashrc.d/shellrc
@@ -1,5 +1,5 @@
# vim: ft=sh
-for sh in /etc/shellrc.d/*; do
+for sh in /usr/share/shellrc/*; do
[ -r "$sh" ] && . "$sh"
done
diff --git a/install b/install
index 422eaf0..cd42670 100755
--- a/install
+++ b/install
@@ -54,13 +54,13 @@ done
# Install shellrc
if $U_BASE; then
- mkdir -p "$I_PREFIX/etc/shellrc.d"
- cp -r shellrc.d/. "$I_PREFIX/etc/shellrc.d"
+ mkdir -p "$I_PREFIX/usr/share/shellrc"
+ cp -r shellrc.d/. "$I_PREFIX/usr/share/shellrc/"
fi
if $U_DESKTOP; then
- mkdir -p "$I_PREFIX/etc/shellrc.d"
- cp -r shellrc.d-desktop/. "$I_PREFIX/etc/shellrc.d"
+ mkdir -p "$I_PREFIX/usr/share/shellrc"
+ cp -r shellrc.d-desktop/. "$I_PREFIX/usr/share/shellrc/"
fi
if $U_BASH; then
diff --git a/zshrc.d/shellrc b/zshrc.d/shellrc
index b3162f7..049e5fc 100644
--- a/zshrc.d/shellrc
+++ b/zshrc.d/shellrc
@@ -1,5 +1,5 @@
# vim: ft=zsh
-for sh in /etc/shellrc.d/*; do
+for sh in /usr/share/shellrc/*; do
[ -r "$sh" ] && . "$sh"
done