add .vimrc checker
This commit is contained in:
parent
b5e9fed54e
commit
cd3261d399
@ -70,6 +70,8 @@ configure_nano() {
|
||||
}
|
||||
|
||||
configure_vim() {
|
||||
[ -f ~/.vimrc ] && return
|
||||
|
||||
read -p "要配置 vim 吗?[Y/n]: " response
|
||||
|
||||
if [[ -z "$response" ]] || [[ $response =~ ^[Yy]$ ]]; then
|
||||
|
||||
@ -70,6 +70,8 @@ configure_nano() {
|
||||
}
|
||||
|
||||
configure_vim() {
|
||||
[ -f ~/.vimrc ] && return
|
||||
|
||||
read -p "要配置 vim 吗?[Y/n]: " response
|
||||
|
||||
if [[ -z "$response" ]] || [[ $response =~ ^[Yy]$ ]]; then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user