-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better git path handling #864
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I was annoyed at having to use short paths all the time in my aliases. It wasn't until I found a command that actually refused to work with a shortpath (running iisexpress.exe) I was determined to find a solution. It appears that the reason the quoted paths weren't working was due to the ::validate alias stuff. The for command would stumble on a quoted path, arguing that /foo was unexpected... The additions on lines 7-8 wrap the input in quotes and then strip the inner quotes. This variable is used in the for loop (instead of %*) for validating the alias. So long as the alias is valid (contains no spaces) then the existing method of appending the new alias to the aliases file works just fine because it still uses %*.
…`ConEmu-%COMPUTERNAME%.ini`, before checking for the standard ini file `ConEmu.ini`.
Run PowerShell as default
$PSScriptRoot is not available on PS version 2 or below. So we'll set it ourselves.
Add bundled git to PATH if we can't find git on PATH.
This reverts commit 53efab1.
This is not needed and confuses users.
The function Enable-GitColors is depreciated in dahlbyk/posh-git@4e778e2 and should be removed here as well.
Remove depreciated Enable-GitColors in posh-git
update VS to 2015 release version and switch to /MT for static linking
This reverts commit aaf70a4.
…t>/bin`so add that to the path, too.
Update clink to 0.4.5
For releases.
Should now just be a 120x30 at the 500x500px position and saves size and position on close.
Since Git 1.7.8, submodules don't contain a .git/ folder anymore. Instead, the submodule directory is populated with a .git text file which contains a git-dir: /path/to/superproject/git_dir/modules/name. See, https://github.com/git/git/blob/master/Documentation/RelNotes/1.7.8.txt#L109-L114
Fixed checkGit() in case of submodules
Fixed get_git_dir() to take submodules into account. Fixes cmderdev#833
Typo in Readme.md
…profile.d_support
Added profile.d like support for all supported shells
Cmder exinit
Fix cmd plugin.d
The idea is: * if the users points as to a specific git, use that * test if a git is in path and if yes, use that * last, use our vendored git We don't make any attempt to guess a different location, if a user wants their own git install, they have to choose "add git to path". Also check that we have a recent enough version of git (e.g. test for <GIT>\cmd\git.exe)
Some unix commands shadow windows commands and therefor the unix commands should be at the end of the PATH
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains three commits