mirror of
https://github.com/CompeyDev/my-nvim-setup.git
synced 2024-12-13 21:40:37 +00:00
install.sh : prompt users for shell
This commit is contained in:
parent
e9d27bda68
commit
3865b28f6d
1 changed files with 7 additions and 0 deletions
|
@ -38,6 +38,13 @@ heading "old nvim config will be deleted so watchout :0"
|
||||||
rm -rf ~/.config/nvim/ && mkdir -p ~/.config/nvim
|
rm -rf ~/.config/nvim/ && mkdir -p ~/.config/nvim
|
||||||
cp -r init.lua ~/.config/nvim && cp -r lua ~/.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
|
#for f in `find -E . -regex ".*\.vim$|.*\.lua$"`; do
|
||||||
# p=${f#*/}
|
# p=${f#*/}
|
||||||
# echo -e '\t' ${p}
|
# echo -e '\t' ${p}
|
||||||
|
|
Loading…
Reference in a new issue