Merge pull request #36 from marvelman3284/terminal-change

Fix a smaller error that prevents the changing of shells
This commit is contained in:
siduck76 2021-05-05 21:09:27 +05:30 committed by GitHub
commit f8fbd70859
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

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!"