From a08360f203fb8e3ca8e22cdd8a39994bb0caed32 Mon Sep 17 00:00:00 2001 From: Daniel Azanov Date: Wed, 20 Sep 2023 10:38:27 +0000 Subject: [PATCH] [install] change /home/USER -> HOME --- install.bash | 2 +- install.zsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.bash b/install.bash index 82f8282..83b6f83 100755 --- a/install.bash +++ b/install.bash @@ -15,7 +15,7 @@ echo "Created link '~/.local/bin/gis'" # Modify bashrc touch ~/.bashrc -_add_to_config "export PATH=\$PATH:/home/${USER}/.local/bin" +_add_to_config "export PATH=\$PATH:${HOME}/.local/bin" echo "Updated '~/.bashrc'" echo diff --git a/install.zsh b/install.zsh index 60dbdf9..5abc778 100755 --- a/install.zsh +++ b/install.zsh @@ -15,7 +15,7 @@ echo "Created link '~/.local/bin/gis'" # Modify config touch ~/.zshrc -_add_to_config "export PATH=\$PATH:/home/${USER}/.local/bin" +_add_to_config "export PATH=\$PATH:${HOME}/.local/bin" echo "Updated '~/.zshrc'" echo