conemu

ConEmu: Open multiple Git Bash tabs on different locations

孤者浪人 提交于 2019-12-12 01:41:10
问题 I need to setup startup tasks in order to have 3 git bash tabs opened on startup, each in different location. To open various tabs on various places I used cmd -new_console:s /k "%ConEmuBaseDir%\CmdInit.cmd" & d: & cd \Projects\Project1 cmd -new_console:s /k "%ConEmuBaseDir%\CmdInit.cmd" & d: & cd \Projects\Project2 cmd -new_console:s /k "%ConEmuBaseDir%\CmdInit.cmd" & d: & cd \Projects\Project3 There is already a predefined task for Git bash {Bash::Git bash} "%ConEmuDrive%\Program Files\Git

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"

ConEmu: possible to change the up arrow behavior?

淺唱寂寞╮ 提交于 2019-12-11 05:46:42
问题 The ↑ arrow cycles through the command history, for example, I get these suggestions: cd project git init git commit cd .. Is it possible to adjust the behavior of the up arrow in ConEmu so that it behaves like in zsh which filters the suggestions based on my current prompt? For example, if I wrote "git" to the console, up arrow would only cycle through these two: git init git commit 回答1: You can do that by installing clink: http://mridgers.github.io/clink/ and enabling it in the settings

conemu + ssh clears console history

蹲街弑〆低调 提交于 2019-12-11 02:15:30
问题 I am using ConEmu and am totally satisfied with it except for the fact that if I use PuTTY for SSH access, I can then run commands on the remote machine like vim or nano or mcedit or others which opens some kind of a curses-interface and I can see the console commands history, but when I use CygWin SSH client or OpenSSH for Windows I cannot see the commands history anymore after running vim/nano/mcedit/whatever else. When I quit those programs (:wq in vim, Esc key in mcedit, Ctrl^X in nano) I

ConEmu + WSL: Open new console in current tab directory

前提是你 提交于 2019-12-10 16:19:10
问题 I'm using WSL and ConEmu build 180506. I'm trying to setup a task in ConEmu to use the current directory of the active tab when opening a new console but I cannot get it to work. What I did is to setup the task {Bash: bash} using the instructions on this page setting the task command as : set "PATH=%ConEmuBaseDirShort%\wsl;%PATH%" & %ConEmuBaseDirShort%\conemu-cyg-64.exe --wsl -C~ -cur_console:pm:/mnt Then following the instruction on this page, I added to my .bashrc if [[ -n "${ConEmuPID}" ]

Run autostart_console.bat on startup or new tab in ConEmu?

我只是一个虾纸丫 提交于 2019-12-10 01:50:23
问题 I am using ConEmu (robust cmd) on Windows 8 Pro. How/where can I set conemu to run autostart_console.bat when starting ConEmu or when opening a new tab? Thank you. 回答1: In most cases you need to use following command in Command line field (Settings -> Startup). cmd /k autostart_console.bat If you need to start other shell (not cmd.exe), for example Far Manager cmd /c autostart_console.bat & far.exe Full paths to autostart_console.bat or far.exe are required if they are not in %PATH% . 来源:

How do I change charset / locale in conemu?

戏子无情 提交于 2019-12-09 13:38:20
问题 I am using gitbash via conemu. I have a charset issue where the chars look wrong in gitbash via conemu and gitbash directly. I fixed it in gitbash by setting the locale in .minttyrc to .. BoldAsFont=-1 Locale=en_US Charset=UTF-8 But this doesn't fix it in gitbash when launched via conemu. Any ideas where I would change conemu settings to address locale or to get it to pick up .minttyrc settings? 回答1: As mentioned in "git log output encoding issues on Windows 10 command prompt", can you check

Customize VSCode to use a console emulator instead of the command prompt

时光毁灭记忆、已成空白 提交于 2019-12-05 09:12:25
Can I customize VSCode to use a console emulator instead of the command prompt? I want to use something like conemu, but don't want to use "force conemu as default terminal for console applications" setting in conemu. It has a specific warning "enabling this option may cause false alarms in antiviral programs", and I'm on my work computer. They have just implemented this feature: https://github.com/Microsoft/vscode/pull/3495 You'll have the externalTerminal.windowsExec and externalTerminal.linuxExec user settings, where you can define what console emulator to use. In my case, I'm on windows

Using conemu terminal with Xming

北城余情 提交于 2019-12-05 08:26:40
问题 I am using ConEmu which is a great terminal for Windows. I am also using MobaXterm which has a built in X server to allow me to run Linux applications have have their GUIs run on my Windows machine. What I would love is to be able to achieve the same thing with ConEmu. Is it possible to forward X via SSH on ConEmu and have this work with Xming? I tried loading Xming and logging into my linux machine via SSH from a standard windows cmd.exe terminal in ConEmu but it doesn't work. Perhaps this

Cmder bash script executing

て烟熏妆下的殇ゞ 提交于 2019-12-04 18:37:30
问题 I created basic script in Windows. #!/bin/bash echo Hello I am using Cmder, ConEmu derivative. I tried to change the priviliges with chmod, but they are the same. I don't know how can I execute this script. Normal Linux way, which is: ./hello.sh does not work, and typing just hello.sh makes Windows try to open it, which is bad, since I want it in console. How to execute this script in ConEmu/Cmder? 回答1: I've noticed you can run bash from cmder . So I could do it like: > bash $ ./yourScript.sh