Browse Source

Fix regression: bashrc would not use short hostname

Alois Mahdal 11 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
   "${HOME}/.bash/colors.bashrc" \
6
   "${HOME}/.bash/colors.bashrc" \
7
   "${HOME}/.bash/main.bashrc" \
7
   "${HOME}/.bash/main.bashrc" \
8
   "${HOME}/.bash/user/$(whoami).bashrc" \
8
   "${HOME}/.bash/user/$(whoami).bashrc" \
9
-  "${HOME}/.bash/host/$(hostname).bashrc" \
9
+  "${HOME}/.bash/host/$(hostname -s).bashrc" \
10
   "${HOME}/.bash/post.bashrc";
10
   "${HOME}/.bash/post.bashrc";
11
 do
11
 do
12
   test -f $include && . $include;
12
   test -f $include && . $include;