Updated tmux setup script

This commit is contained in:
2022-01-01 14:20:31 -05:00
parent 95d919811f
commit a26ba5610c
2 changed files with 99 additions and 11 deletions

View File

@@ -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 "$@"