Browse Source

Fix regression: bashrc would not use short hostname

Alois Mahdal 10 years ago
parent
commit
a5291bf07b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      dotfiles/bash/head.bashrc

+ 1
- 1
dotfiles/bash/head.bashrc View File

@@ -6,7 +6,7 @@ for include in \
6 6
   "${HOME}/.bash/colors.bashrc" \
7 7
   "${HOME}/.bash/main.bashrc" \
8 8
   "${HOME}/.bash/user/$(whoami).bashrc" \
9
-  "${HOME}/.bash/host/$(hostname).bashrc" \
9
+  "${HOME}/.bash/host/$(hostname -s).bashrc" \
10 10
   "${HOME}/.bash/post.bashrc";
11 11
 do
12 12
   test -f $include && . $include;