사용자 도구

사이트 도구


windows:console:conemu

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
다음 판 양쪽 다음 판
windows:console:conemu [2018/05/17 15:05]
kwon37xi
windows:console:conemu [2018/05/23 09:22]
kwon37xi
줄 3: 줄 3:
   * [[windows:console|Windows Console(cmd)]] 를 사용할 것 - WSL Linux 사용시 더 잘 됐음(2018).   * [[windows:console|Windows Console(cmd)]] 를 사용할 것 - WSL Linux 사용시 더 잘 됐음(2018).
   * [[windows:wsl|Windows Subsystem For Linux]] 도 지원   * [[windows:wsl|Windows Subsystem For Linux]] 도 지원
 +
 +===== Quake Mode =====
 +  * 퀘이크 설정을 하면 단축키를 눌렀을 때 상단에서 콘솔창이 아래로 열렸다 닫혔다할 수 있다.
 +  * 단축키 ''Win+~'' 지정
  
 ===== 시작시 다중 Task 실행 ===== ===== 시작시 다중 Task 실행 =====
   * 텍스트 파일로 실행할 태스크를 한 줄에 하나씩 적고서 저장해두고<code>   * 텍스트 파일로 실행할 태스크를 한 줄에 하나씩 적고서 저장해두고<code>
 PowerShell -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command "Invoke-Expression '. ''%ConEmuDir%\..\profile.ps1'''" PowerShell -ExecutionPolicy Bypass -NoLogo -NoProfile -NoExit -Command "Invoke-Expression '. ''%ConEmuDir%\..\profile.ps1'''"
-C:\Windows\System32\bash.exe ~ -cur_console:p+set "PATH=%ConEmuBaseDirShort%\wsl;%PATH%" & %ConEmuBaseDirShort%\conemu-cyg-64.exe --wsl -C~ -cur_console:pm:/mnt
 </code> </code>
   * Startup tasks file 로 이를 지정하면 다중 탭으로 하나씩 셸이 실행되어 열린다.   * Startup tasks file 로 이를 지정하면 다중 탭으로 하나씩 셸이 실행되어 열린다.
   * 태스크로 적는 명령은 이미 설정되어 있는 값들을 보고 복사하면 된다.   * 태스크로 적는 명령은 이미 설정되어 있는 값들을 보고 복사하면 된다.
  
-====== 단축키 ======+===== 단축키 =====
   * ''Ctrl+Tab'', ''Ctrl+Shift+Tab'' : 탭간 이동   * ''Ctrl+Tab'', ''Ctrl+Shift+Tab'' : 탭간 이동
   * ''Ctrl+Tab''을 누르고 ''Ctrl''을 계속 유지한 상태에서 화살표 : 화살표 방향 탭으로 이동   * ''Ctrl+Tab''을 누르고 ''Ctrl''을 계속 유지한 상태에서 화살표 : 화살표 방향 탭으로 이동
  
 +===== WSL Linux 통합 =====
 +  * WSL ''C:\Windows\System32\bash.exe''를 바로 실행할 수도 있긴한데 그 경우 다양한 콘솔 관련 버그를 만나게 된다(붙여넣기 오동작등)
 +  * [[https://conemu.github.io/en/BashOnWindows.html|ConEmu | Bash on Ubuntu on Windows in ConEmu (WSL)]] WSL Linux bash의 콘솔 접근방법이 Windows 표준과 달라서 ''wslbridge'' 등의 중계 방식이 필요하다는 설명.
 +  * [[https://conemu.github.io/en/CygwinMsysConnector.html|cygwin/msys terminal connector]]를 를 통해 ''wslbridge''를 연동하는 듯.
 +  * ''wslbridge''와 커넥터는 ConEmu 와 함께 배포되므로 따로 다운 받을 필요가 없다.
 +  * 기본 Task 설정 ''%ConEmuBaseDirShort%''를 ConEmu 설치 디렉토리라고 할 때<code>
 +set "PATH=%ConEmuBaseDirShort%\wsl;%PATH%" & %ConEmuBaseDirShort%\conemu-cyg-64.exe --wsl -C~ -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 -C~ -cur_console:pm:/mnt
 +
 +# 자기만의 Shell을 사용하고 싶다면, 예) fish -l
 +set "PATH=%ConEmuBaseDirShort%\wsl;%PATH%" & %ConEmuBaseDirShort%\conemu-cyg-64.exe --wsl -C~ -cur_console:pnm:/mnt -t fish -l
 +</code>
 +  * 태스크 파라미터로<code>
 +/dir %CD% /icon "%USERPROFILE%\AppData\Local\lxss\bash.ico"
 +</code>
 +  * ''--wsl -C~'' 옵션을 주면 Linux ''$HOME''에서 시작한다.
windows/console/conemu.txt · 마지막으로 수정됨: 2018/07/13 12:41 저자 kwon37xi