Mike Sigsworth
c46eb6a525
Merge remote-tracking branch 'upstream/development' into development
...
Conflicts:
bin/alias.bat
2015-10-12 21:32:33 -06:00
Benjamin Staneck
7fd43b939b
delete our own, now obsolete agent launcher
2015-08-31 04:40:10 +02:00
Martin Kemp
34947c4f0f
Fix the /d flag
...
Was deleted in last commit.
2015-03-18 10:56:25 +00:00
Martin Kemp
efe244b5fa
Resolved conflict in alias.bat merge
2015-03-18 10:54:22 +00:00
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
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
Aleksander Skjæveland Larsen
ad4a2103ea
Support %HOME% variables containing spaces
2014-12-18 10:30:14 +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
Greg Lucas
469d299ae8
Update alias.bat to show an existing alias
...
When calling alias.bat with a single argument, check if that argument is
an existing alias and if so, display it.
Otherwise, proceed as before.
2014-11-11 12:13:31 -05: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
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
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
Alberto Solano
fc3422e1ba
fixed errors and grammar
2013-12-13 00:32:22 +01:00
Samuel Vasko
3c979780f9
handles spaces better, also using CMDER_ROOT for everything
2013-12-09 00:55:18 +01:00
Samuel Vasko
027be08286
Merge pull request #26 from Vivix/master
...
Added minimal validation and usage help.
2013-11-27 10:49:43 -08:00
Vivix
f9c6d61ee0
Added minimal validation and usage help.
2013-11-27 04:36:48 +01:00
Shoozza
bbcbd2ece9
Fix spelling
2013-11-27 01:44:04 +01:00
Samuel Vasko
5bb4808835
Alias fix
2013-07-16 18:26:48 +02:00
Samuel Vasko
10f7afdef2
Alias fixed
2013-07-15 23:45:25 +02:00
Samuel Vasko
4d063c76c3
Readme for subfolders
2013-07-15 22:45:47 +02:00
Samuel Vasko
ef9bbdab6a
Initial commit
2013-07-09 09:43:50 +02:00