Skip to content
This repository was archived by the owner on Nov 19, 2025. It is now read-only.

Added support for usernames with spaces.#38

Merged
JakeWharton merged 1 commit intosquare:masterfrom
zsavely:patch-1
Nov 11, 2016
Merged

Added support for usernames with spaces.#38
JakeWharton merged 1 commit intosquare:masterfrom
zsavely:patch-1

Conversation

@zsavely
Copy link
Contributor

@zsavely zsavely commented Nov 11, 2016

If a Windows user has a space character in the username,

  1. userprofile breaks into 2 variables and must be saved with " ".
  2. call :copy_config is supplied with an argument but if there is a space in the argument value, it breaks into 2 arguments.
  3. command xcopy /s configs C:\Users\John Doe is also supplied with 2 arguments because of the space character.

If a Windows user has a space character in the username,

1. `userprofile` breaks into 2 variables and must be saved with `" "`.
2. `call :copy_config` is supplied with an argument but if there is a space in the argument value, it breaks into 2 arguments.
3. command `xcopy /s configs C:\Users\John Doe` is also supplied with 2 arguments because of the space character.
@JakeWharton JakeWharton merged commit db83654 into square:master Nov 11, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants