Skip to content

Commit

Permalink
install.sh : prompt users for shell
Browse files Browse the repository at this point in the history
  • Loading branch information
siduck76 committed Apr 6, 2021
1 parent e9d27bd commit 3865b28
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ heading "old nvim config will be deleted so watchout :0"
rm -rf ~/.config/nvim/ && mkdir -p ~/.config/nvim
cp -r init.lua ~/.config/nvim && cp -r lua ~/.config/nvim

# change shell for nvim
read -p "which shell do you use?: " shellname
echo "$shellname"

sed -i "s/bash/$shellname/g" ~/.config/nvim/lua/mappings/lua.lua
echo "shell changed to $shellname on nvim successfully!"

#for f in `find -E . -regex ".*\.vim$|.*\.lua$"`; do
# p=${f#*/}
# echo -e '\t' ${p}
Expand Down

0 comments on commit 3865b28

Please sign in to comment.