16 पॉइंट द्वारा alstjr7375 2021-05-06 | 1 टिप्पणियां | WhatsApp पर शेयर करें
  • 4 थीम: 2-लाइन powerline, 2-लाइन simple, 1-लाइन powerline, 1-लाइन simple

  • आसान इनपुट: auto-completion, bracket matching, FZF integration

  • अन्य built-in टूल्स: ip-info, URL(urlshort, urlencode, urldecode), terminal image view

  • प्रदर्शन: डिफ़ॉल्ट रूप से plugins को asynchronous load करता है, external processes को यथासंभव कम करता है और caching जैसी optimizations के साथ नया shell बनाते समय सिर्फ 2.7 ms में initialize होता है

powertools branch(https://github.com/black7375/BlaCk-Void-Zsh/tree/powertools)

  • grep->ripgrep, ls -> exa की तरह आधुनिक terminal टूल्स का उपयोग संभव

  • अधिक जानकारी issue में देखी जा सकती है: https://github.com/black7375/BlaCk-Void-Zsh/issues/23

Docker से पहले से आज़माकर देखना संभव

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

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

1 टिप्पणियां

 
alstjr7375 2021-05-06

Linux terminal tools पर एक पोस्ट आई थी, तो मैंने सोचा अपनी environment settings भी साझा कर दूँ।

काफी plugins शामिल होने की वजह से performance पर ध्यान जाना स्वाभाविक था, और shell script में सबसे बड़े bottlenecks में से एक external process execution है।

https://black7375.tumblr.com/post/647324695443734528/…

उदाहरण के लिए, बहुत लोग इस्तेमाल करने वाले brew के लिए PATH में जोड़ने हेतु $(brew --prefix) का उपयोग recommended माना जाता है।

लेकिन benchmark चलाकर देखें तो यह 11.3 ms के साथ हैरान कर देने वाला धीमा प्रोग्राम है।

इसलिए मैंने environment initialization के लिए ज़रूरी elements (pyenv, kubectl आदि) को initial install या update के समय cache होने दिया है। या फिर zinit recache कमांड से भी यह किया जा सकता है।