221 Commits

Author SHA1 Message Date
Mike
0311e129ca Handle quoted paths
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 %*.
2015-02-22 23:48:33 -06:00
Martin Kemp
17b4525e60 Merge pull request #362 from vladimir-kotikov/clink-update
Update clink to latest (0.4.3) version
2015-01-08 22:09:20 +00:00
Martin Kemp
6c69536295 Merge pull request #358 from vladimir-kotikov/alias-rework
Rework `alias` command to not to use external tools
2015-01-08 22:08:11 +00:00
Vladimir Kotikov
b831c4569f Updates clink to latest (0.4.3) version 2015-01-09 00:29:57 +03:00
Vladimir Kotikov
dba00b9175 Adds info about command options 2015-01-08 20:43:45 +03:00
an-selm
01849c3365 Fix quotation for aliases variable 2014-12-24 22:24:54 +03:00
an-selm
30ddd53288 alias command without arguments now outputs all defined aliases 2014-12-24 22:24:47 +03:00
an-selm
0ae09e9a4a Add /d option to alias command that removes existing alias
* Remove separate unalias script and add `unalias` alias ^) for `alias /d`
2014-12-24 22:24:42 +03:00
an-selm
e224d133f3 Rework alias command to handle duplicates
* Removed unnecessary perl script
2014-12-24 22:24:35 +03:00
Martin Kemp
11753fdd2a Merge pull request #352 from ogrim/sshagent
Adding script to enable SSH-agent #193
2014-12-18 11:42:10 +00:00
Aleksander Skjæveland Larsen
ad4a2103ea Support %HOME% variables containing spaces 2014-12-18 10:30:14 +01:00
Aleksander Skjæveland Larsen
6106a555fe Adding info on SSH agent to README.md 2014-12-17 19:15:54 +01:00
Aleksander Skjæveland Larsen
75707f9a65 Adding script to enable SSH-agent #193
Adding agent-script to bin-folder and a commented out call in init.bat
2014-12-17 14:32:40 +01:00
Martin Kemp
bbbda146b8 Merge pull request #326 from kohenkatz/development
changes copied from PR#256
2014-11-21 10:48:13 +00:00
Moshe Katz
e5531537ad changes copied from 0f295234cc and 18fea0ac03 2014-11-20 11:08:37 -05:00
Martin Kemp
44e6184487 Update msysgit & conemu
Updated links to latest versions of msysgit and conemu; 1.9.4-preview20140929 and 141117 respectively.
2014-11-20 11:29:03 +00:00
Martin Kemp
b700016a15 Merge pull request #313 from glucas/unalias-command
Add an unalias command
2014-11-11 17:54:47 +00:00
Greg Lucas
79fbae0854 Add an unalias command
Add bin/unalias.bat to perform the opposite action of alias.bat.
Removes a given alias from the current shell environment and the
aliases file.

Fixes issue #281.
2014-11-11 10:40:57 -05:00
Martin Kemp
25991ac6a1 Merge pull request #304 from glucas/pull-alias-reload
Add option to reload aliases from file
2014-10-25 21:40:49 +01:00
Greg Lucas
717b556d7a Add option to reload aliases from file
Add a quick way to reload the aliases file in the current shell using:

    alias /reload
2014-10-24 15:39:37 -04:00
Martin Kemp
20c9ba207d Merge pull request #300 from melku/clean_aliases_script
Clean aliases script
2014-10-23 21:20:38 +01:00
Martin Kemp
d6edd152ad Merge pull request #299 from robgithub/development
Adding history alias
2014-10-23 20:35:55 +01:00
Rob
6a241b5e7c Adding history alias
simple alias that operates as history command
2014-10-23 18:59:58 +01:00
Martin Kemp
e95127268e Don't ignore icons when packing (Fixes #292)
Icons were being ignored and causing the `/REGISTER ALL *` command to
give the context menu option a broken image..
2014-10-23 10:38:36 +01:00
melchior
247c65ef05 Add an error message if an alias is detected as invalid 2014-10-16 01:09:24 -04:00
melchior
45c9742ea5 remove lua version 2014-10-16 01:03:19 -04:00
melchior
5bd0c29c25 Convert the clean alias script to perl 2014-10-16 01:00:59 -04:00
melchior
1e2f954724 Add a lua script to clean the aliases file
Note that cmder doesn't ship with lua. Next step is converting this
script to perl, which ships with msysgit.
2014-10-16 00:20:36 -04:00
Martin Kemp
e363139b30 Merge pull request #271 from LeoColomb/master
Add custom loader for Powershell & improve its implementation
2014-09-17 12:04:40 +01:00
Martin Kemp
0e5f070347 Merge pull request #272 from bliker/master
Update Dev Branch
2014-09-17 12:03:54 +01:00
Léo Colombaro
98350e14e8 Add custom loader for Powershell, improve its implementation in Cmder
Fixes #104, fixes #53, fixes #65 (my bad), related to #136, and should
fix #139
2014-09-17 09:55:15 +02:00
Martin Kemp
dcc9f5e59a Merge pull request #253 from bliker/revert-243-fix-home
Revert "Start in the HOME folder."
2014-09-02 16:24:13 +01:00
Martin Kemp
73795739f0 Revert "Start in the HOME folder." 2014-09-02 16:22:44 +01:00
Martin Kemp
67b963b7ee Merge branch 'development' 2014-08-31 12:28:04 +01:00
Martin Kemp
93589b1c8d 1.1.4.1 launcher build 2014-08-31 12:27:37 +01:00
Martin Kemp
a6f35d6373 Bump version 2014-08-31 12:16:51 +01:00
Martin Kemp
bbcabfb730 Merge branch 'development' v1.1.4.1 2014-08-31 12:03:13 +01:00
Martin Kemp
75801cbdc8 Merge branch '1.1.4.1' into development 2014-08-31 12:01:51 +01:00
Martin Kemp
9822fa844e Ignore version files.
Version files don't need to be tracked.
2014-08-30 16:47:21 +01:00
Martin Kemp
a9f5d552bc Reintroduce VS2013 dlls.
Fixes #246.
2014-08-30 16:46:22 +01:00
Martin Kemp
63120b8998 Merge pull request #243 from narnaud/fix-home
Start in the HOME folder.
2014-08-28 15:02:37 +01:00
Martin Kemp
8cdce27653 Merge pull request #249 from narnaud/fix-build
Ensure-Exists is necessary for build.ps1, add it back.
2014-08-28 12:59:32 +01:00
Nicolas Arnaud-Cormos
a5691285ec Ensure-Exists is necessary for build.ps1, add it back. 2014-08-28 13:34:59 +02:00
Nicolas Arnaud-Cormos
3223a0391a Start in the HOME folder. 2014-08-28 13:09:30 +02:00
Martin Kemp
a39c632d71 Merge pull request #166 from glucas/run_as_admin
Find cmder files when running as Administrator.
2014-08-27 09:58:14 +01:00
Martin Kemp
8c6847ee0d Merge branch 'development' v1.1.4 2014-08-27 00:03:47 +01:00
Martin Kemp
f66f598fca Increment version 2014-08-27 00:03:06 +01:00
Martin Kemp
de8d2d22f6 Fix the build 2014-08-26 23:52:49 +01:00
Martin Kemp
72c045dc2d Merge pull request #244 from narnaud/fix-clinkversion
Fix clink version
2014-08-26 12:37:52 +01:00
Nicolas Arnaud-Cormos
5ee2fb2a8d Fix clink version 2014-08-26 13:20:38 +02:00