From 536661538c501b48dbf3a4b6a2b3bb48c7d46c3f Mon Sep 17 00:00:00 2001 From: Alain Reguera Delgado Date: Jul 27 2011 00:32:13 +0000 Subject: Update `prepare' functionality: - Rename `Config/vimrc' to `Config/vim.conf'. We need to use an extension in order for backup script to include the file in the list of files to backup. - Update `prepare_updateLinks.sh' to coincide `Config/vim.conf' new name. --- diff --git a/Scripts/Functions/Prepare/Config/vim.conf b/Scripts/Functions/Prepare/Config/vim.conf new file mode 100755 index 0000000..84444f8 --- /dev/null +++ b/Scripts/Functions/Prepare/Config/vim.conf @@ -0,0 +1,7 @@ +set nu +set textwidth=70 +set autoindent +set tabstop=4 +set softtabstop=4 +set shiftwidth=4 +set expandtab diff --git a/Scripts/Functions/Prepare/Config/vimrc b/Scripts/Functions/Prepare/Config/vimrc deleted file mode 100755 index 84444f8..0000000 --- a/Scripts/Functions/Prepare/Config/vimrc +++ /dev/null @@ -1,7 +0,0 @@ -set nu -set textwidth=70 -set autoindent -set tabstop=4 -set softtabstop=4 -set shiftwidth=4 -set expandtab diff --git a/Scripts/Functions/Prepare/prepare_updateLinks.sh b/Scripts/Functions/Prepare/prepare_updateLinks.sh index 1351238..edab47c 100755 --- a/Scripts/Functions/Prepare/prepare_updateLinks.sh +++ b/Scripts/Functions/Prepare/prepare_updateLinks.sh @@ -94,7 +94,7 @@ function prepare_updateLinks { # Define link relation for Vim text editor's configuration. if [[ $EDITOR == '/usr/bin/vim' ]];then LINKS_SRC[((++${#LINKS_SRC[*]}))]=${HOME}/.vimrc - LINKS_DST[((++${#LINKS_DST[*]}))]=${WCDIR_EDITOR}/vimrc + LINKS_DST[((++${#LINKS_DST[*]}))]=${WCDIR_EDITOR}/vim.conf USERFILES="${USERFILES} ${HOME}/.vimrc" fi