Cmder

Start up cmder ConEmu console in a specific folder

时间秒杀一切 提交于 2019-12-20 09:33:52
问题 I want start my Cmder console in this route C:\xampp\htdocs , but I don't understand the syntax of 'Task parameters'. For example: `/icon "%CMDER_ROOT%\cmder.exe`" Can anyone translate for this? C:\xampp\htdocs to -> /icon "%CMDER_ROOT%\cmder.exe " So I could edit the config and place my custom folder: Thank you very much. 回答1: Change %USERPROFILE% to desired folder instead. 回答2: Go to Setup and Click on 'Startup dir...' button and specify startup directory. As you can see in example bellow

Cmder右键配置

喜欢而已 提交于 2019-12-18 12:21:23
Cmder右键配置 每次用camder手动一层一层的进入目标文件夹,是一件很麻烦的事儿。所以,将camder添加到系统右键菜单是个很好地解决方法。 1、把 Cmder 加到环境变量 把Cmder.exe存放的目录添加到系统环境变量; 加完之后,Win+r一下输入cmder,即可。 2、添加 cmder 到右键菜单:环境变量添加后,在任意文件夹中即可打开Cmder,上一步的把 Cmder 加到环境变量就是为此服务的, 在管理员权限的终端输入以下语句即可: Cmder.exe /REGISTER ALL 3、为Cmder.exe创建快捷方式,右击Cmder.exe选择“创建快捷方式”点击即可,以后打开Cmder.exe只要点击桌面对应的快捷方式即可 来源: https://www.cnblogs.com/mzdljgz/p/11981913.html

VSCode 相关配置记录

删除回忆录丶 提交于 2019-12-13 18:32:13
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 之前一直使用eclipse做为开发工具,最近看别人用了VSCode,自己就下载了用一下,感觉非常爽,因为前段可以直接使用VIM的命令(本人是VIM大牛,之前一直在VIM上开发程序)。 1. 使用Cmder代替VSCode的默认终端 1)下载Cmder.exe 2)在setting.json(用户设置)中添加如下信息: "terminal.integrated.shell.windows": "C:\\Windows\\system32\\cmd.exe", "terminal.external.windowsExec": "D:\\software\\cmder\\Cmder.exe", "terminal.integrated.shellArgs.windows": ["/K", "D:\\software\\cmder\\vendor\\init.bat"], 来源: oschina 链接: https://my.oschina.net/u/238880/blog/1630534

Expanding Bash shell variable in Curl in Cmder

為{幸葍}努か 提交于 2019-12-11 17:23:10
问题 On a Window 7 machine in Cmder emulator in Git bash window, I'm trying to capture the ISO-formatted current date: $ date +%s 1513354497 to be sent inside the body of curl POST request: $curl.sh -X POST -H "Content-Type: application/json" -H "Cache-Control: no-cache" -d '{"restricted":true,"marquardtRole":"ContentStreamReservedTagMARQUARDTBIWEEKLYUPDATE","description":"Bi-weekly update covering Marquee development and go-to-market functions.","assetClasses":["Commodities","Credit","Currencies"

Alias that refers to another alias

☆樱花仙子☆ 提交于 2019-12-11 01:02:38
问题 I need to identify an alias command that refers to another alias command in Cmder, for example let's say i define firstAlias like: alias firstAlias=cd blah/blah than i create another alias that uses above alias like: alias secondAlias=firstAlias $t another command I have already tried these options(including above one) but no luck so far: alias secondAlias=firstAlias $t another command alias secondAlias=$firstAlias $t another command alias secondAlias=`firstAlias` $t another command alias

Set up my makefile to compile C with just “make”

馋奶兔 提交于 2019-12-10 17:40:50
问题 I'm doing the Learn C The Hard Way course by Zed Shaw, and on Lesson 2 I find that in the videos and book, the author only uses make ex1 to compile his C, while I need to run gcc -Wall -g ex1.c -o ex1 . Here is my Makefile, It seems like the first part is what is supposed to make the make command work to compile, but the "make" command doesn't compile it. CFLAGs=-Wall -g clean: rm -f ex1.exe all: gcc -Wall -g ex1.c -o ex1.exe 回答1: The default goal is the first goal, so switch the order of

VSCode + Cmder integration - strange issue

徘徊边缘 提交于 2019-12-10 14:35:13
问题 could you tell me why while I integrate the vscode and cmder, like that: "terminal.integrated.shell.windows": "cmd.exe", "terminal.integrated.shellArgs.windows": ["/k", "%CMDER_ROOT%\\vendor\\init.bat"] and use mini_cmder version, everything is working fine. But if I do it the same with full version of cmder, the "Open in terminal" option from contextual menu doesen't work. Anybody know how to resolve that? Best Regards, crova 回答1: Yes, to use the Cmder shell in VS Code, you need to create a

Open .sln file from cmder?

无人久伴 提交于 2019-12-07 13:59:21
问题 Is it possible to launch devenv.exe and open a .sln file from cmder? After I clone a git repo from the command line, I'd like to quickly open the solution in Visual Studio without having to leave cmder. 回答1: Danny is correct, you simply type xxx.sln . I'm a bit lazy and developed the script below to be able to type vs and it will find and open the first sln file it finds in the current directory. Here are some example commands: vs - Will open the first sln file it finds, if it doesn't find

Cmder : how to use an alias in another alias?

守給你的承諾、 提交于 2019-12-07 12:03:48
问题 I would use an alias in another alias in Cmder. I'm having a nice alias (the first) to a big command, and I would use it inside another one (the second) : mergelocdist=git fetch origin --prune --verbose && git checkout $1 && git merge --ff-only --verbose origin/$2 || git rebase --preserve-merges --verbose origin/$2 mm=mergelocdist master master The aliases are in the Cmder aliases file, and I'm on Windows 7 x64. The topic has already been asked in this question,with no replies as now. If you

Cmder右键配置

青春壹個敷衍的年華 提交于 2019-12-06 11:54:45
Cmder右键配置 每次用camder手动一层一层的进入目标文件夹,是一件很麻烦的事儿。所以,将camder添加到系统右键菜单是个很好地解决方法。 1、把 Cmder 加到环境变量 把Cmder.exe存放的目录添加到系统环境变量; 加完之后,Win+r一下输入cmder,即可。 2、添加 cmder 到右键菜单:环境变量添加后,在任意文件夹中即可打开Cmder,上一步的把 Cmder 加到环境变量就是为此服务的, 在管理员权限的终端输入以下语句即可: Cmder.exe /REGISTER ALL 3、为Cmder.exe创建快捷方式,右击Cmder.exe选择“创建快捷方式”点击即可,以后打开Cmder.exe只要点击桌面对应的快捷方式即可 来源: https://www.cnblogs.com/mzdljgz/p/11981913.html