Pārlūkot izejas kodu

Fix regression: bashrc would not use short hostname

Alois Mahdal 10 gadus atpakaļ
vecāks
revīzija
a5291bf07b
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      dotfiles/bash/head.bashrc

+ 1
- 1
dotfiles/bash/head.bashrc Parādīt failu

@@ -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;