Merge pull request #36 from marvelman3284/terminal-change
Fix a smaller error that prevents the changing of shells
This commit is contained in:
commit
f8fbd70859
1 changed files with 2 additions and 2 deletions
|
@ -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!"
|
||||
|
|
Loading…
Reference in a new issue