Fix a smaller error that prevents the changing of shells
This commit is contained in:
parent
49c1f84e6e
commit
7cb7851868
|
@ -56,9 +56,9 @@ read -p "which shell do you use?: " shellname
|
||||||
echo "$shellname"
|
echo "$shellname"
|
||||||
|
|
||||||
if [ "$(get_platform)" = "Mac" ]; then
|
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
|
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
|
fi
|
||||||
|
|
||||||
echo "shell changed to $shellname on nvim successfully!"
|
echo "shell changed to $shellname on nvim successfully!"
|
||||||
|
|
Loading…
Reference in New Issue