Fix a smaller error that prevents the changing of shells

This commit is contained in:
marvelman3284 2021-05-05 09:55:41 -04:00
parent 49c1f84e6e
commit 7cb7851868

View File

@ -56,9 +56,9 @@ read -p "which shell do you use?: " shellname
echo "$shellname"
if [ "$(get_platform)" = "Mac" ]; then
gsed -i "s/bash/$shellname/g" ~/.config/nvim/lua/mappings/lua.lua
gsed -i "s/bash/$shellname/g" ~/.config/nvim/lua/mappings.lua
else
sed -i "s/bash/$shellname/g" ~/.config/nvim/lua/mappings/lua.lua
sed -i "s/bash/$shellname/g" ~/.config/nvim/lua/mappings.lua
fi
echo "shell changed to $shellname on nvim successfully!"