Cleanup echo

This commit is contained in:
2024-10-09 22:39:47 +01:00
parent ecee44e300
commit 76b278e35b

View File

@@ -9,11 +9,11 @@ if [ $(pwd) != "$HOME/dotfiles" ]; then
fi fi
if ! nix --version &>/dev/null; then if ! nix --version &>/dev/null; then
echo -e "[E] Nix not found." echo "[E] Nix not found."
echo -e "[+] Installing the Nix package manager..." echo "[+] Installing the Nix package manager..."
sh <(curl -L https://nixos.org/nix/install) sh <(curl -L https://nixos.org/nix/install)
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
echo -e "[I] Installed Nix." echo "[I] Installed Nix."
fi fi
E='echo -e' E='echo -e'