mirror of
https://github.com/m-housh/dotfiles.git
synced 2026-02-14 06:12:34 +00:00
Updated tmux setup script
This commit is contained in:
17
vim/setup
17
vim/setup
@@ -14,15 +14,16 @@ _usage() {
|
||||
printf "\n" >&2
|
||||
printf "Installs or Uninstalls vim configuration files.\n" >&2
|
||||
printf "\n" >&2
|
||||
printf "Options:\n" >&2
|
||||
printf "\t-c | --copy : Copy the configuration files, instead of creating symlinks.\n" >&2
|
||||
printf "\t-h | --help : Print usage information.\n" >&2
|
||||
printf "\t-l | --link : Create symlinks to the configuration files (Default).\n" >&2
|
||||
printf "\t-r | --remove : Removes the entire ~/.vim directory.\n" >&2
|
||||
printf "\t-u | --uninstall : Uninstalls configuration files.\n" >&2
|
||||
printf "\n" >&2
|
||||
printf "If called without the uninstall option then it will install the configuration files.\n" >&2
|
||||
printf "The copy and link options are ignored if called with the uninstall or remove option.\n" >&2
|
||||
printf "Options:\n" >&2
|
||||
printf "\t-c | --copy: Copy the configuration files, instead of creating symlinks.\n" >&2
|
||||
printf "\t-h | --help: Print usage information.\n" >&2
|
||||
printf "\t-l | --link: Create symlinks to the configuration files (Default).\n" >&2
|
||||
printf "\t-r | --remove: Removes the entire ~/.vim directory.\n" >&2
|
||||
printf "\t-u | --uninstall: Uninstalls configuration files.\n" >&2
|
||||
printf "" >&2
|
||||
printf "\n" >&2
|
||||
}
|
||||
|
||||
_parse_options() {
|
||||
@@ -104,7 +105,7 @@ main() {
|
||||
|
||||
# else install the configuration files
|
||||
_install_vim
|
||||
echo "Vim will need to be started, vim plugins should download on start or call :PlugInstall."
|
||||
echo "Vim will need to be started for vim plugins to download."
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
||||
Reference in New Issue
Block a user