From 911f28cc45c91ae4b5ba224ea9362d6c6025231c Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 10 Jan 2023 12:26:46 +0000 Subject: [PATCH] Removed mac specific lazygit config Can mac lazygit on mac work like other nix systems --- install.sh | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/install.sh b/install.sh index 5bb6f033..0b06ef44 100755 --- a/install.sh +++ b/install.sh @@ -26,13 +26,14 @@ for FILE in config/*; do done # Mac specific lazygit setup (because of course) -if [ $machine == "Mac" ] -then - rm "$CONFIG_DIR/lazygit" - echo "Removed $CONFIG_DIR/lazygit" - if [ ! -e "$HOME/Library/Application Support/lazygit" ] - then - ln -s "$(readlink -f config/lazygit)" "$HOME/Library/Application Support/lazygit" - echo "$(readlink -f config/lazygit) -> $HOME/Library/Application Support/lazygit" - fi -fi +# UPDATE: not needed if XDG_CONFIG_HOME is set +# if [ $machine == "Mac" ] +# then +# rm "$CONFIG_DIR/lazygit" +# echo "Removed $CONFIG_DIR/lazygit" +# if [ ! -e "$HOME/Library/Application Support/lazygit" ] +# then +# ln -s "$(readlink -f config/lazygit)" "$HOME/Library/Application Support/lazygit" +# echo "$(readlink -f config/lazygit) -> $HOME/Library/Application Support/lazygit" +# fi +# fi