dotfiles

(★ 12)

Colemak dotfiles configuration that gives you superpowers.

파일 탐색기

  • .p10k.zsh
  • .tmux.conf
  • .tmux.conf.local
  • .vimrc
  • .zshrc
  • LICENSE
  • README.md

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

brew install

설명 보기 ▼

Install a Homebrew formula or cask.

brew install {{formula|cask}}

Install a formula/cask:

brew install {{[-s|--build-from-source]}} {{formula}}

Build and install a formula from source (dependencies will still be installed from bottles):

brew install {{[-n|--dry-run]}} {{formula|cask}}

Download the manifest, print what would be installed but don't actually install anything:

🔍

git clone

설명 보기 ▼

Clone an existing repository.

git clone {{remote_repository_location}} {{path/to/directory}}

Clone an existing repository into a new directory (the default directory is the repository name):

git clone --recursive {{remote_repository_location}}

Clone an existing repository and its submodules:

git clone {{[-n|--no-checkout]}} {{remote_repository_location}}

Clone only the `.git` directory of an existing repository:

🔍

lazygit

설명 보기 ▼

Git 저장소 관리를 위한 간단한 터미널 UI.
더 많은 정보: <https://manned.org/lazygit>.

lazygit

현재 저장소에서 Lazygit 실행:

lazygit {{[-p|--path]}} {{path/to/repository}}

특정 Git 저장소에서 Lazygit 실행:

lazygit {{status|branch|log|stash|...}}

특정 패널에 포커스를 두고 Lazygit 시작:

🔍

tmux

설명 보기 ▼

터미널 멀티플렉서.
tmux는 단일 단말기 창 또는 원격 터미널 세션 안에서 여러 세션을 사용할 수 있도록 도와줍니다.
관련 항목: `zellij`, `screen`.
더 많은 정보: <https://github.com/tmux/tmux>.

tmux

새 세션 시작:

tmux {{[new|new-session]}} -s {{name}}

이름있는 새 세션 시작:

tmux {{[ls|list-sessions]}}

세션 리스트 출력:

🔍

vim

설명 보기 ▼

Vim (Vi IMproved)는 다양한 텍스트 조작을 위한 여러 모드를 제공하는 명령줄 텍스트 편집기입니다.
일반 모드에서 `<i>`를 눌러 삽입 모드로 진입합니다. `<Esc>`를 눌러 다시 일반 모드로 돌아가면 Vim 명령을 사용할 수 있습니다.
관련 항목: `vimdiff`, `vimtutor`, `nvim`, `gvim`.
더 많은 정보: <https://www.vim.org/>.

vim {{path/to/file}}

파일 열기:

vim +{{line_number}} {{path/to/file}}

지정한 줄 번호에서 파일 열기:

<:>help<Enter>

Vim 메뉴얼 보기:

🔍

zsh

설명 보기 ▼

Z SHell, Bash 호환 명령줄 인터프리터.
관련 항목: `bash`, `!`, `^`.
더 많은 정보: <https://zsh.sourceforge.io/Doc/Release/Invocation.html#Invocation>.

zsh

대화형 셸 세션 시작:

zsh -c "{{echo Hello world}}"

특정 [c]명령 실행:

zsh {{path/to/script.zsh}}

특정 스크립트 실행:

🔍

apt install

설명 보기 ▼

Install packages for Debian-based distributions.

sudo apt install {{package}}

Install a package, or update it to the latest version:

sudo apt install {{[-V|--verbose-versions]}} {{package}}

Display verbose package version information during installation or update:

🔍

xclip

설명 보기 ▼

X11 클립보드 조작 도구로, `xsel`과 유사합니다.
X 기본 및 보조 선택 영역과 시스템 클립보드(`<Ctrl c>`/`<Ctrl v>`)를 처리합니다.
관련 항목: `wl-copy`.
더 많은 정보: <https://manned.org/xclip>.

echo 123 | xclip

명령의 출력을 X11 기본 선택 영역(클립보드)에 복사:

echo 123 | xclip {{[-se|-selection]}} {{primary|secondary|clipboard}}

명령의 출력을 지정된 X11 선택 영역에 복사:

echo 123 | xclip {{[-se|-selection]}} {{[c|clipboard]}}

명령의 출력을 시스템 클립보드에 짧은 표기법을 사용하여 복사:

🔍

pbcopy

설명 보기 ▼

`stdin`에서 데이터를 클립보드로 복사합니다.
키보드에서 `<Cmd c>`를 누르는 것과 비슷합니다.
더 많은 정보: <https://keith.github.io/xcode-man-pages/pbcopy.1.html>.

pbcopy < {{path/to/file}}

특정 [f]파일의 내용을 클립보드에 복사:

find . -type t -name "*.png" | pbcopy

특정 명령의 결과를 클립보드에 복사:

🔍

octo

설명 보기 ▼

Octopus Deploy 명령줄 도구.
더 많은 정보: <https://octopus.com/docs/octopus-rest-api/octo.exe-command-line>.

octo pack --id {{package}}

패키지 생성:

octo push --package {{package}}

패키지를 Octopus 서버의 저장소에 푸시:

octo create-release --project {{project_name}} --packageversion {{version}}

릴리스 생성:

// repository documentation