Questions tagged [cmder]
Cmder is a portable console emulator for Windows. It is based on ConEmu with major config overhaul and spiced up with the Monokai color scheme!
122
questions
3
votes
2
answers
205
views
Configure Cmder/ConEmu to correctly convert paths (remove /mnt/ prefix)?
Across multiple installs of Cmder I have had this issue.
When running Git Bash the drives are mounted to /, but when pasting windows paths into the console it converts as if they are mounted in /mnt/. ...
1
vote
1
answer
697
views
Is it possible to launch a shortcut in current directory path?
I am trying to launch a Command Line Tool named cmder in the current working directory e.g. C:\Users\USERNAME\Downloads.
Important note: I do not have Admin rights.
To achieve this I have created a ...
-1
votes
1
answer
490
views
How do I launch the fish shell in WSL through Cmder?
Setting it as the default shell in Ubuntu WSL results in the PATH not working properly, as described in the docs. So I want to avoid that issue by launching it through the terminal.
0
votes
0
answers
73
views
Same color text in nano editor when logged in to the server with cmder / conemu
I saw some people have a friendly color scheme in Nano editor, e.g. words inside brackets highlighted, comments highlights etc.
Looks like I fail to get my Nano editor become more user friendly in ...
-1
votes
1
answer
327
views
How to create a shortcut with the command for cmder.exe?
How to [in Windows 7] create a shortcut for 'Cmder.exe ', which immediately connects to the server?
Now I'm doing this:
Screenshot shortcut properties
But when I start, I get this window:
Screenshot ...
0
votes
1
answer
376
views
Cmder and SSH - Keep previous shell activity content after quitting full-screen process (e.g. less, vim)
I want the shell activity content (e.g. the output of ls, whoami) to be shown on the terminal screen after running and quitting a full-screen process (e.g. less, vim).
They are all removed/cleared ...
2
votes
1
answer
2k
views
Powershell is extremely slow and using a lot of resources, how to solve this?
Using powershell is almost impossible. It takes almost 6 minutes to load on a pretty fast computer.
I think it might be relevant that I use cmder and scoop. It's also slow in cmder.
What can I do to ...
2
votes
0
answers
1k
views
Broken CMD, cmder, and powershell. Cmder is automatically executing commands on launch
I recently made a node.js project for the first time, and honestly I had to put my Windows 7 PC through hell trying to get it to run (more info below). However since then, my system has not been the ...
1
vote
1
answer
2k
views
How to set blank line before every new prompt for bash on cmder?
I'm using cmder as my command prompt in windows and also installed the ubuntu from Microsoft app store using subsystem layer for linux.
How to set a blank line before every new prompt for bash on ...
0
votes
1
answer
621
views
Cmder seems to not emulate PowerShell when using Vagrant
I'd like to provision and connect to virtual machine using Vagrant and Cmder. Unfortunately, when I try to vagrant up my machine, I'm getting error that I don't use Power Shell:
λ vagrant up
5
...
2
votes
2
answers
2k
views
How do I change directory to a path containing spaces in cmder on Windows 10?
I am working with both Docker Quickstart Terminal (Bash) and Cmder on Windows10.
On Bash, to change directory to a path where some folder contains spaces, I usually do:
cd "D:\my files\etc\etc&...
0
votes
0
answers
72
views
Can you increase the console popup menu with task submenu entries?
I have to work with a lot of vms and I'm using task submenu to group vms in console popup menu. The issue is that now I have more vms than entries in the task sub-menu to create putty sessions.
I ...
2
votes
1
answer
2k
views
Cannot clear history of cmder / conemu
On Windows 10, I want to clear the entire history of the cmder /conemu command and bash window commands. However, I cannot delete even if I use the following approaches:
Open .history file in %...
0
votes
0
answers
64
views
Code Indentations in Cmder
I commonly use Cmder to ssh into Linux boxes where I run Python scripts regularly. Unfortunately, when I copy and paste indented code, the paste action seems to interpret my spaces incorrectly. for ...
2
votes
2
answers
4k
views
Is there a way to filter the command history in Windows using cmder?
In Linux I can doing something like history | grep abc and that will only bring up the commands that start with 'abc'. With Windows in cmder, I can bring up the history of commands with the history ...
0
votes
1
answer
62
views
ConEmu cuts off script execution and requires input when large text is printed
I'm running a bash script in ConEmu that at one point prints json text which has multiple lines. At this point, the printed text is cut off with "--more--", execution is interrupted and ...
0
votes
1
answer
867
views
Settings for Cmder (conemu) minimize to tray
Where to find the settings than when I close the terminal from here
to force it to close actually instead of being minimized to tray?
0
votes
1
answer
284
views
How do I create an alias for cmder to cd to project root?
I have all my projects in a specific directory, say: C:\users\myself\dev
While working on a project, I often need to go into a deeper directory and then get back up to the root of the project. This ...
0
votes
0
answers
441
views
Change windows terminal colors to reflect Git status
I'm using Cmdr as my console emulator for Windows 10, and I really love it, it came with Laragon, the portable development environment.
What I like most about Cmdr is that there's a version that comes ...
2
votes
4
answers
1k
views
Is there a one-liner that allows me to create a directory and move into it at the same time?
I find myself repeating a lot of:
Mkdir "temp"
Cd "temp"
I know in Linux we have:
mkdir "longtitleproject" && cd $_
Is there a similar Windows command?
0
votes
1
answer
1k
views
Running bash script inside VS Code with Cmder terminal
I've just installed VS Code and added Cmder as a default terminal on a new Win10.
I am trying to import my git for Windows .bashrc aliases to be used with Cmder. So I've added them to user_aliases....
0
votes
1
answer
239
views
The “default” version of bash for windows is Ubuntu 14 for me. I'm unable to use Ubuntu 18 in apps like ConEmu/Cmder as a result
=== Issue ===
I'm attempting to run Ubuntu 18 in ConEmu/Cmder in Windows 10. However, the setup for Cmder says to use this path: %windir%\system32\bash.exe ~ -cur_console:p which runs Ubuntu 14. I ...
0
votes
0
answers
122
views
Bash alias to delete merged git branches (on windows)
Trying to make an alias in Cmder on windows in order to erase my already merged branchs.
I'm stuck with this :
alias deletebranch=for /f %%i in ('git branch --merged=$1') do git branch -d %%i
The ...
1
vote
0
answers
287
views
How do enable colors in cmder for cmd.exe?
I'm using Cmder on Windows 10. When I launch a regular console ({cmd::Cmder}) I get the colorful prompt as usual, like so:
Regular styled cmder
I've created a custom task to setup a Visual Studio ...
0
votes
2
answers
93
views
Is it possible to show some text in Cmd after a git commit command is done?
I want to show a message on Cmder every time I do "git commit".
I want it to be a positive reinforcement like "Yeah! Well done! Keep going" :)
Is it possible to do it in some way?
0
votes
0
answers
537
views
How to set cmder as default cmd in windows 10 when you get connected via SSH?
I've installed OpenSSHUtilities and I can connect to my PC via SSH.
But when I get connected I want to have cmder console instead of cmd from windows?
Is there a way to configure this?
3
votes
2
answers
226
views
Create nested directory from parent directory in Windows 7 when using Bash in Cmdr
First I do this:
mkdir firstFolder
Then:
mkdir firstFolder/secondFolder
Here an error occurs. The command line interface returns "incorrect syntax". What is the right syntax?
I am using Bash upon ...
1
vote
1
answer
850
views
Wait for a process to complete in Cmder \ ConEmu
Executive Summary:
For software development debugging purposes, I’m using Cmder 1.3.12 for Windows 10 x64.
If, say, I run in a cmd window java –jar app2.jar, I get output logs (inside cmd) and, as ...
1
vote
1
answer
190
views
Is it possible to add a "Open in Cmder" context menu entry in Windows that sends the folder to the current session and doesn't open a new one?
I have Cmder set to autostart with Windows as a drop-down terminal, now I want to add a context-menu entry so whenever I right-click a folder in Windows-Explorer I can open that folder in Cmder.
The ...
1
vote
0
answers
119
views
Cmder as desktop background
Is it possible to make cmder as desktop background in Windows 10 with which I could interact?
e.g. In Ubuntu we can set terminal as desktop background https://askubuntu.com/questions/366599/use-a-...
1
vote
0
answers
108
views
CMDER - Is it possible to send a signal to another (already opened) tab in CMDER / conemu?
So, I have a setup on my CMDER where I can enter a command and 3 new tabs each running a different task (in this case running frontend, backend and worker for one application). I was wondering if it ...
3
votes
3
answers
408
views
How to turn off always showing current directory in cmder
It creates unnecessary bloat, pwd would suffice for me. Couldn't find anything in settings.
1
vote
0
answers
229
views
What must be added to the cmder's .gitconfig file to run sublimemerge as a git mergetool?
I was eager to try out the new git mergetool integration, but I ran into a problem:
I’m running Windows 10 and installed the SublimeMerge package. I'm also using cmder instead of windows CLI as it ...
1
vote
1
answer
2k
views
How to setup integrated terminal of vs code with Cmder and bash as default
I seem to be the very first asking this specific question.
Target:
So, I am trying to setup my development environment. I mainly use VS Code as Editor and I'd like to use Cmder as integrated shell ...
2
votes
1
answer
605
views
How to enable VI key binding in cmder?
In linux terminal we can easily enable vi key-binding mode with commands like set -o vi. Does cmder on windows provide any such feature? Or Is there any hack available to do so?
13
votes
5
answers
15k
views
How do properly add "Open Cmder" Here in the windows context menu?
I installed Cmder with the chocolatey: https://chocolatey.org/packages/Cmder
and I would like to have a shortcut in my context menu to open cmder in the current directory. I followed [the official ...
0
votes
1
answer
102
views
add Cmder in Rstudio terminal
I would like to know how to add Cmder (Portable console emulator for Windows) in Rstudio terminal ? I add this C:\cmder\vendor\bin in environment variables but without any effect.
tools -> global ...
0
votes
1
answer
237
views
Cmder: Keep the bash command line at the bottom
Any idea how to keep git bash command line at the bottom?
For cmd the solution is here
https://conemu.github.io/en/PromptAtTheBottom.html
0
votes
1
answer
879
views
Conemu - create a task for loading a putty session with credential
I would like create a task on conemu for launching a putty session with autologin in order to speedup the process of connecting via ssh
Security is not an issue since most machines I need to ...
1
vote
0
answers
31
views
remove trailing slashes recursively on php files on windows with cmder
I need to remove all trailing slashes on php files. I use cmder on windows.
I use this command to find the files, but they are a lot.
find ./ -name "*.php" | xargs grep -c -P '\s+$' | grep -v ':0$'
...
0
votes
0
answers
332
views
Unicode characters are doubled up in Powershell (Running under Cmder)
Ok, this is a weird one. For the last few years, I've used a Unicode lightning bolt symbol as my prompt in Powershell. I just got a new laptop and re-installed everything. I run Powershell using ...
0
votes
2
answers
1k
views
"env: /usr/bin/locale: No such file or directory" in Cmder on startup
I had reinstalled Windows and brought down a new version of Cmder and started noticing this message when I start it up:
env: /usr/bin/locale: No such file or directory
I'd like to know what I can do ...
0
votes
2
answers
4k
views
CMDER\vendor\conemu-maximus5\..\init.bat"' is not recognized as an internal or external command, operable program or batch file
Can you tell me please, what this CMDER error means? CMDER\vendor\conemu-maximus5..\init.bat"' is not recognized as an internal or external command,
operable program or batch file. My CMDER lost its ...
2
votes
1
answer
4k
views
How to make Cmder start with root privileges in Windows 10
As, the title suggests, I don't know how to make Cmder starts as root. The script creator says that It is essential to run this script as root, otherwise airgeddon won't work properly. I hope someone ...
0
votes
2
answers
3k
views
ssh to Ubuntu 18.04 connection timed out
I'm trying to SSH to Ubuntu server I have in another city. The IP address for that server is something like 129.123.x.xxx. I use windows and cmder to connect to Ubuntu. When I use my campus vpn which ...
3
votes
2
answers
4k
views
Start cmder with taskfile and 2 terminals open in split screen
I have an angular project and a java project and I would like to have a script for cmder that starts both of them in their specific directory in split window view so I can see both their logs.
Like ...
0
votes
0
answers
157
views
Setting up ksh task in Cmder
I'm looking for a way to use a korn shell in Cmder.
I'm trying to add an entry in the Task menu which would let me start a new ksh window. I looked at mksh, to no avail yet. There seems to be some ...
1
vote
1
answer
824
views
Cmder - <tab> does not recognize wildcards like cmd.exe in windows
On the command prompt on windows if in the current directory if there is a single *.txt (say test.txt) file then typing in *.txt followed by <TAB> will result in cmd.exe expanding the full file ...
3
votes
2
answers
959
views
Weird foreground color issue with Cmder + PowerShell Core
Out of the box, running PowerShell with Cmder sets the foreground color to white:
Today I installed PowerShell Core and created a new Cmder task exactly like the default 'PowerShell as Admin task', ...
1
vote
0
answers
651
views
cmder using clink does not show git branch
When I tick "Use Clink in Cmder" in cmder settings, git branch names are not shown in cmder if I "Open in Terminal" the folder. If I untick it, it is shown, and the output is more colorful, as well.
...