We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12f9022 commit 2f13c8fCopy full SHA for 2f13c8f
setup.sh
@@ -14,8 +14,8 @@ mkdir -p "$HOME/.bin" # For holding the binaries
14
mkdir -p "$XDG_CONFIG_HOME/nix" # For the Nix config file
15
16
echo "-- Add .bin to the PATH variable in the .profile if not already set"
17
-if [ "$(grep 'export PATH=$PATH:$HOME/.bin' "$HOME/.profile" -c)" -eq 0 ]; then
18
- echo 'export PATH=$PATH:$HOME/.bin' >> "$HOME/.profile"
+if [ "$(grep 'export PATH=$HOME/.bin:$PATH' "$HOME/.profile" -c)" -eq 0 ]; then
+ echo 'export PATH=$HOME/.bin:$PATH' >> "$HOME/.profile"
19
fi
20
21
echo "-- Download Nix"
0 commit comments