b0bh00d
89499f2a60
Replaced the 'hg -id' command with the 'hg branch' and 'hg status' pair for improved response times.
2019-01-20 21:02:31 -07:00
b0bh00d
5a48e568a8
Updated the HG prompt code to use the '-ib' option to 'hg id' to always have the branch name available.
2019-01-01 11:17:53 -07:00
Dax T. Games
9a47bce6ac
fix ssh-agent in user_profile.cmd.default
2018-12-22 17:05:08 -05:00
Dax T Games
4f2ced57df
Revert "fix sshagent call in user_profile.cmd.default"
2018-12-22 16:55:56 -05:00
Dax T. Games
4e4f050374
fix sshagent call in user_profile.cmd.default
2018-12-22 15:40:09 -05:00
Martin Böhm
51e75d4bb5
add percent escaping for string.gsub ( #1991 )
...
In `string.gsub()`, the `%` character has special meaning and must be escaped to be treated verbatim, otherwise the "invalid use of '%' in replacement string" warning will show up.
This adds a verbatim() function for that purpose. It fixes this warning for situations where `'%` characters are in the current path (cwd), version control branch names, or in the previous `PROMPT` set by the user.
2018-12-19 21:17:45 +01:00
Dax T Games
f4389fc552
Merge pull request #1988 from daxgames/no_prefer_nix_option_
...
Prefer /nix_tools option
2018-12-16 13:08:56 -05:00
Dax T Games
8101923242
Merge pull request #1987 from seeq12/default-files-user-profile
...
Use default files for default user profiles
2018-12-16 10:31:48 -05:00
Cody Ray Hoeft
7e1bc4297a
Move ssh-agent logic to lib script
2018-12-13 21:12:18 -08:00
Dax T Games
0f30329e38
Update init.bat
2018-12-13 21:55:08 -05:00
Dax T. Games
528a69dab9
update nix_tools option to allow preferring nix tools
2018-12-13 20:54:18 -05:00
Cody Ray Hoeft
0c9e0e2f8c
Use default files for default user profiles
2018-12-13 12:13:17 -08:00
Patrick Stewart
20eb7b8e81
Add /nix_tools switch to init.bat to optionally add !GIT_INSTALL_ROOT!\usr\bin to PATH
2018-12-13 16:09:52 +00:00
Dax T. Games
8ac540ebb6
debug
2018-12-02 11:51:00 -05:00
Dax T. Games
fcab51da2b
remove file
2018-12-02 11:46:23 -05:00
Dax T. Games
dc492c836f
Merge branch 'master' of https://github.com/cmderdev/cmder into prefer_nix_option
2018-12-02 11:46:01 -05:00
Dax T. Games
1eb03dd1b8
add '/prefer_nix' switch to init.bat
2018-12-02 11:44:18 -05:00
Van der Boon, Robert GSNL-PTT/SPD
572a94ca3a
Improve LANG env var detection
2018-11-30 12:01:21 +01:00
Dax T. Games
eb6a332da2
Merge branch 'master' of https://github.com/cmderdev/cmder into multi-user
2018-11-22 16:21:24 -06:00
Daniel Chesters
036cf09360
Ensure use the system find and findstr command instead find/findstr from path. Fix #1959
2018-11-22 21:14:02 +01:00
Dax T. Games
7203671fc9
fix powershell profile.d
2018-11-17 19:55:24 -05:00
Dax T. Games
0efeaa91fa
cleanup
2018-11-11 08:04:35 -05:00
Dax T. Games
e904ebce72
use user_conemu.xml or conemu-%computername%.xml directly if '-c [path]' is used to start cmder.
2018-11-10 17:26:08 -05:00
Dax T. Games
d04cc1f04e
fix timer error
2018-11-10 13:57:26 -05:00
Dax T. Games
57e5ae1719
move default comemu.xml to vendor folder
2018-11-08 21:25:42 -05:00
Dax T Games
a5bdecca77
Add /f for fast init. ( #1942 )
...
The below enables Cmder Fast Init mode for `cmd.exe` sessions. This is more like the Cmder 1.3.5 init process. See issue #1821
Cmder Fast Init mode bypasses or disables the following Cmder 1.3.6+ features:
* Git root and version detection. Defaults to `%cmder_root%\vendor\git-for-windows` if it exists.
* Path enhance validation before path modify so `%Path%` enhancements are forced.
* Recursive path add for `"%CMDER_ROOT%\bin"`
* Recursive path add for `"%CMDER_USER_BIN%\bin"` if `/c [user_config_folder` is specified.
* `/d` switch to enable debug output.
* `/v` switch to enable debug output.
Add `/f` to Cmder task as shown below t enable fast init:
_Note 1: This setting is invalid in Cmder `Powershell` and `Bash` sessions~_
_Note 2: Add `/t` also to see init timer output_
![image](https://user-images.githubusercontent.com/7318053/47957637-052e3880-df90-11e8-93ef-91e1ab696d82.png )
Cuts ~2.4 seconds off of init time.
![image](https://user-images.githubusercontent.com/7318053/47957795-45db8100-df93-11e8-8ae0-551d12c4e2dc.png )
2018-11-04 01:36:51 +01:00
Gregory Lucas
5be25f29f8
Initialize time_init to fix init error message
2018-11-03 18:52:26 +01:00
Merlin
cb78f0486a
Remove duplicate Install-Module
detection
...
Block was inserted twice.
2018-11-03 02:15:03 +01:00
Dax T Games
3a11d45552
add diag helper scripts and adds to the path ( #1918 )
...
These scripts are to help us help our users by getting a relative picture of their environment that they can submit with an incident.
2018-11-02 14:00:40 +01:00
Nicolas Arnaud-Cormos
a607f0f2d5
Ensure the right git path is found in case of shim.
...
If the git found is a shim, we need to follow the path to the actual git
directory to set the GIT_INSTALL_ROOT variable.
This happens when installing git via scoop for example.
2018-10-10 07:14:50 +02:00
Benjamin Staneck
66da1716bc
Merge pull request #1758 from xiazeyu/master
...
lib to check init.bat's custom args
2018-09-30 18:06:42 +02:00
Benjamin Staneck
c3956e307a
Merge pull request #1889 from leochien0102/leochien0102-patch-1
...
Leochien0102 Fix the 'was unexpected at this time.' at start
2018-09-29 23:15:26 +02:00
Dax T. Games
8ff459b309
fixes
2018-09-24 19:07:48 -05:00
leochien0102
8dc9bc9ae1
fix the 'was unexpected at this time.'
...
Change the single quotation marks to double while path concerned
2018-09-21 16:01:52 +08:00
gaoslin
bb4ed4af51
Update init.bat
2018-09-18 17:26:11 +08:00
Dax T. Games
bda09bc274
init.bat update for cexec
2018-09-16 16:23:22 -05:00
Dax T. Games
749ce17dbe
git prompt yellow
2018-09-16 15:53:49 -05:00
Dax T. Games
8cf59d1cbf
cleanup
2018-09-16 10:21:37 -05:00
Dax T. Games
1d36ba4ed4
fix user lua and git detection
2018-09-16 10:18:10 -05:00
Dax T. Games
564ef5220e
allow conditionally setting environment variables
2018-09-15 16:25:31 -05:00
Dax T. Games
f84da84e15
cleanup
2018-09-15 15:12:45 -05:00
Dax T. Games
86544c9188
readme.md
2018-09-15 15:11:50 -05:00
Dax T. Games
4aec21ce19
readme.md
2018-09-15 15:10:35 -05:00
Dax T. Games
9dce9d0f62
added exit codes
2018-09-15 13:55:54 -05:00
Dax T. Games
669e997602
flag_exists.cmd to flag_exec.cmd, also to lib as an option
2018-09-15 12:52:23 -05:00
Retomehere
0730c6e32b
Merge branch 'master' into master
2018-09-15 11:28:04 +08:00
Benjamin Staneck
0d2e16c653
Merge pull request #1871 from daxgames/user_lua
...
Embed 'alias' functionality into 'vendor\bin' and Load User Lua files
2018-09-13 22:41:19 +02:00
Benjamin Staneck
35eab7a51a
Merge pull request #1834 from b0bh00d/master
...
Refactored the Mercurial prompt code to be more efficient.
2018-09-13 18:07:07 +02:00
Benjamin Staneck
2cfa7c45fc
⬆️ ConEmu to 180626
...
release notes: https://conemu.github.io/en/Whats_New.html
2018-09-13 18:05:36 +02:00
Benjamin Staneck
ab0de6d157
⬆️ Update Git to 2.19.0
...
Release notes: https://github.com/git-for-windows/git/releases/tag/v2.19.0.windows.1
2018-09-13 17:58:39 +02:00