Removed mac specific lazygit config
Can mac lazygit on mac work like other nix systems
This commit is contained in:
parent
740574a5c5
commit
911f28cc45
21
install.sh
21
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
|
||||
|
|
Loading…
Reference in a new issue