mirror of https://github.com/einverne/dotfiles.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
462 B
13 lines
462 B
#!/bin/bash - |
|
|
|
set -o nounset # Treat unset variables as an error |
|
|
|
VIM_SERVER="https://raw.githubusercontent.com/wklken/vim-for-server/master/vimrc" |
|
# sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" |
|
echo "Are you sure to install vim for server" |
|
read -n 1 is_server |
|
if [ "$is_server" == "Y" ] || [ "$is_server" == "y" ]; then |
|
curl $VIM_SERVER > $HOME/.vimrc |
|
exit |
|
fi |
|
|
|
|