사용자 도구

사이트 도구


windows:console:conemu

문서의 이전 판입니다!


ConEmu Windows Terminal Emulator

시작시 다중 Task 실행

  • 텍스트 파일로 실행할 태스크를 한 줄에 하나씩 적고서 저장해두고
    PowerShell -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command "Invoke-Expression '. ''%ConEmuDir%\..\profile.ps1'''"
    set "PATH=%ConEmuBaseDirShort%\wsl;%PATH%" & %ConEmuBaseDirShort%\conemu-cyg-64.exe --wsl -cur_console:pm:/mnt
  • Startup tasks file 로 이를 지정하면 다중 탭으로 하나씩 셸이 실행되어 열린다.
  • 태스크로 적는 명령은 이미 설정되어 있는 값들을 보고 복사하면 된다.

단축키

  • Ctrl+Tab, Ctrl+Shift+Tab : 탭간 이동
  • Ctrl+Tab을 누르고 Ctrl을 계속 유지한 상태에서 화살표 : 화살표 방향 탭으로 이동

WSL Linux 통합

  • WSL C:\Windows\System32\bash.exe를 바로 실행할 수도 있긴한데 그 경우 다양한 콘솔 관련 버그를 만나게 된다(붙여넣기 오동작등)
  • ConEmu | Bash on Ubuntu on Windows in ConEmu (WSL) WSL Linux bash의 콘솔 접근방법이 Windows 표준과 달라서 wslbridge 등의 중계 방식이 필요하다는 설명.
  • cygwin/msys terminal connector를 를 통해 wslbridge를 연동하는 듯.
  • wslbridge와 커넥터는 ConEmu 와 함께 배포되므로 따로 다운 받을 필요가 없다.
  • 기본 Task 설정 %ConEmuBaseDirShort%를 ConEmu 설치 디렉토리라고 할 때
    set "PATH=%ConEmuBaseDirShort%\wsl;%PATH%" & %ConEmuBaseDirShort%\conemu-cyg-64.exe --wsl -cur_console:pm:/mnt
    
    # chocolatey로 cmder 설치했을 경우
    set "PATH=C:\tools\cmder\vendor\conemu-maximus5\ConEmu\wsl;%PATH%" & C:\tools\cmder\vendor\conemu-maximus5\ConEmu\conemu-cyg-64.exe --wsl -cur_console:pm:/mnt
    
    # 자기만의 Shell을 사용하고 싶다면, 예) fish -l
    set "PATH=%ConEmuBaseDirShort%\wsl;%PATH%" & %ConEmuBaseDirShort%\conemu-cyg-64.exe --wsl -cur_console:pnm:/mnt -t fish -l
  • 태스크 파라미터로
    /dir %CD% /icon "%USERPROFILE%\AppData\Local\lxss\bash.ico"
windows/console/conemu.1526986441.txt.gz · 마지막으로 수정됨: 2018/05/22 19:54 저자 kwon37xi