install.sh : prompt users for shell
This commit is contained in:
parent
e9d27bda68
commit
3865b28f6d
|
@ -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 New Issue