From 69330e4ad2a8eff14a353dc4b17383fa0767288f Mon Sep 17 00:00:00 2001 From: Vatsal Gupta Date: Sun, 12 May 2024 10:59:36 +0530 Subject: [PATCH] Fixed sourcing --- main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.sh b/main.sh index 1d1faaf..a5a885d 100644 --- a/main.sh +++ b/main.sh @@ -7,7 +7,7 @@ check_sourcing() { # Check if .aliases.sh is sourced in specified rc file, if not append it if ! grep -qxF "source \"${HOME}/.aliases.sh\"" "$HOME/$1"; then printf "\n# Sourcing custom aliases" >>"${HOME}/$1" - echo "source \"\${HOME}/.aliases.sh\"" >>"${HOME}/$1" + echo "source \"${HOME}/.aliases.sh\"" >>"${HOME}/$1" fi if [ -r "${HOME}/$1" ]; then