Sfoglia il codice sorgente

Use POSIX (I think) USER rather than calling whoami

Alois Mahdal 9 anni fa
parent
commit
60e4dcb44a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      dotfiles/bash/head.bashrc

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

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