# BlaCk Void Zsh - ZSH 스타터 킷

> Clean Markdown view of GeekNews topic #4203. Use the original source for factual precision when an external source URL is present.

## Metadata

- GeekNews HTML: [https://news.hada.io/topic?id=4203](https://news.hada.io/topic?id=4203)
- GeekNews Markdown: [https://news.hada.io/topic/4203.md](https://news.hada.io/topic/4203.md)
- Type: news
- Author: [alstjr7375](https://news.hada.io/@alstjr7375)
- Published: 2021-05-06T16:49:02+09:00
- Updated: 2021-05-06T16:49:02+09:00
- Original source: [github.com](https://github.com/black7375/BlaCk-Void-Zsh)
- Points: 16
- Comments: 1

## Topic Body

- 4개의 테마: 2라인 파워라인, 2라인 심플, 1라인 파워라인, 1라인 심플

- 손쉬운 입력: 자동완성, 괄호매칭, FZF 통합

- 기타 내장 도구들: ip-info, URL(urlshort, urlencode, urldecode), terminal image view

- 성능: 기본적으로 플러그인들을 비동기 로드하며, 외부 프로세스를 최대한 줄이고 캐싱하는 등의 최적화로 새로운 쉘 생성시 2.7 ms만에 초기화

파워툴스 브랜치(https://github.com/black7375/BlaCk-Void-Zsh/tree/powertools)

- grep->ripgrep, ls -> exa처럼 현대적인 터미널 도구들을 사용 가능

- 더 많은 정보는 이슈에서 확인가능 https://github.com/black7375/BlaCk-Void-Zsh/issues/23

도커로 미리 사용해보기 가능

docker run --rm -it alstjr7375/bvzsh:latest

docker run --rm -it alstjr7375/bvzsh:latest-powertools

## Comments



### Comment 5102

- Author: alstjr7375
- Created: 2021-05-06T17:04:24+09:00
- Points: 2

리눅스 터미널 툴 글이 올라오길래 제 환경 설정 올려봅니다.

플러그인들이 많이 들어가다보니 아무래도 성능을 신경쓰게 됐는데 쉘스크립트에서 가장 큰 병목 현상 중 하나는 외부 프로세스 실행입니다.

https://black7375.tumblr.com/post/647324695443734528/%EC%89%98%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EC%97%90%EC%84%9C-%EC%99%B8%EB%B6%80-%ED%94%84%EB%A1%9C%EC%84%B8%EC%8A%A4-%EC%8B%A4%ED%96%89%EC%9D%80

예를 들어 많이들 사용하는 brew는 $(brew --prefix)를 사용해 PATH에 추가하는 것이 권장되고 있습니다.

그런데 벤치마크를 돌려보면 11.3 ms로 엄청 느린 프로그램이라는 점.

따라서 전 환경 초기화를 위한 요소들(pyenv, kubectl 등)은 초기 설치나 업데이트시 캐싱되도록 했습니다. 또는 zinit recache 명령어로도 가능해요.
