mybash
My Bash profile - Highly customized Starship Theme - Just imagine Powerlevel10k and Nord Theme had a baby.
파일 탐색기
- bashtest.yml
- dependabot.yml
- FUNDING.yml
- launch.json
- palettes.png
- .bashrc
- config.jsonc
- LICENSE
- README.md
- setup.sh
- shellcheck.log
- starship-theme
- starship.toml
- uninstall.sh
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
fastfetch
설명 보기 ▼
fastfetch
운영체제, 소프트웨어 및 하드웨어에 대한 정보 표시.
더 많은 정보: <https://manned.org/fastfetch>.
fastfetch
시스템 정보 표시:
fastfetch {{[-c|--config]}} all
모든 모듈과 함께 전체 시스템 정보 표시:
fastfetch {{[-c|--config]}} {{path/to/config_file}}
사용자 정의 구성 파일 로드:
fzf
설명 보기 ▼
fzf
명령줄 퍼지 찾기.
`sk`와 유사.
더 많은 정보: <https://github.com/junegunn/fzf#usage>.
find {{path/to/directory}} -type f | fzf
지정된 디렉터리의 모든 파일에서 `fzf`를 시작:
ps aux | fzf
프로세스 실행을 위해 `fzf`를 시작:
find {{path/to/directory}} -type f | fzf {{[-m|--multi]}} > {{path/to/file}}
`<Shift Tab>`을 사용해 여러 파일을 선택하고 파일에 작성:
git clone
설명 보기 ▼
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:
git
설명 보기 ▼
git
분산 버전 관리 시스템.
`commit`, `add`, `branch`, `checkout`, `push` 등의 특정 하위 명령어는 고유의 문서가 따로 있습니다.
더 많은 정보: <https://git-scm.com/docs/git>.
git init
하위 명령어 실행:
git clone {{https://example.com/repo.git}}
특정 레파지토리 위치에서 Git 하위 명령어 실행:
git status
주어진 설정으로 Git 하위 명령어 실행:
python
설명 보기 ▼
python
Python 언어 인터프리터.
더 많은 정보: <https://docs.python.org/using/cmdline.html>.
python
REPL(대화형 셸) 시작:
python {{path/to/file.py}}
특정 Python 파일 실행:
python -i {{path/to/file.py}}
특정 Python 파일 실행 후 REPL 시작:
starship
설명 보기 ▼
starship
최소한의 빠르고 무한히 커스터마이즈 가능한 쉘 프롬프트.
`init`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다.
더 많은 정보: <https://starship.rs/>.
starship init {{bash|elvish|fish|ion|powershell|tcsh|zsh|nu|xonsh|cmd}}
지정한 쉘에 대한 starship 통합 코드 출력:
starship explain
현재 프롬프트의 각 부분을 설명하고 렌더링하는 데 걸린 시간 표시:
starship print-config
계산된 starship 구성 출력 (기본 구성을 출력하려면 `--default` 사용):
zoxide
설명 보기 ▼
zoxide
가장 자주 사용되는 디렉터리를 추적.
순위 알고리즘을 사용하여 가장 적합한 경로로 이동.
더 많은 정보: <https://manned.org/zoxide>.
zoxide query string
이름에 "foo"가 포함된 가장 높은 순위의 디렉터리로 이동:
zoxide query string1 string2
이름에 "foo"와 "bar"가 차례로 포함된 가장 높은 순위의 디렉터리로 이동:
zoxide query {{[-i|--interactive]}}
대화형 디렉터리 검색 시작 (`fzf` 필요):
trash
설명 보기 ▼
trash
휴지통/재활용통 관리.
더 많은 정보: <https://github.com/andreafrancia/trash-cli>.
trash {{path/to/file}}
파일을 휴지통으로 보내기:
trash {{path/to/file}}
Move a file to the trash:
trash-list
휴지통에 있는 모든 파일 나열:
