GithubHelp home page GithubHelp logo

black7375 / black-void-zsh Goto Github PK

View Code? Open in Web Editor NEW
328.0 10.0 36.0 372 KB

๐Ÿ”ฎ Awesome, Customable Zsh Starter Kit ๐ŸŒ ๐ŸŒ 

License: MIT License

Shell 97.00% Dockerfile 3.00%
zsh zsh-settings tmux fzf autojump zplugin zshrc shell zsh-configuration terminal starter-kit

black-void-zsh's Introduction

BlaCk Void Zsh

Awesome Zsh Setting.

https://i.imgur.com/043POEf.png

Wiki:Error

Korean Docs

Notice!! ๐Ÿฅฝ๐Ÿงชโš—๏ธ

We are experimenting with a big change in #23.

Table of Contents

1. Feature.

Sample Video

https://user-images.githubusercontent.com/25581533/66270473-11e99980-e88f-11e9-83ac-3838bc0d6a56.png

1.1 Powerful View.

More Theme, More Information: Wiki:Customize

Prompt.

Powerline Theme https://user-images.githubusercontent.com/25581533/53680999-40fec200-3d26-11e9-8ca5-5c3723e6acdf.png The prompt consists of two lines.
The upper line is for displaying information, and the lower line is for writing commands.

  • Upper Line
    • Left: account info, root user, using ssh, directory lotation, write permission, vcs info
    • Right: result status, background job, command execution time, history, zsh load time
  • Lower Line
    • Syntax highlight, Auto Suggestion.
    • When auto suggestion comes up, you can complete with right(โ†’) arrow key.

Simple Theme https://user-images.githubusercontent.com/25581533/55165124-306c2b00-51b0-11e9-9871-9ee998ed5bbd.png

  • Upper Line
    • directory lotation, vcs info, account info, write permission, root user, command execution time
  • Lower Line
    • Left: prompt conditional , writing commands
      • Syntax highlight, Auto Suggestion.
      • When auto suggestion comes up, you can complete with right(โ†’) arrow key.
    • Right: background job, result status

[Experimental]How to cutomize or switch?

  • Copy file to your home.
    • cp $BVZSH/BlaCk-Void.ztheme ~/.ztheme && Customize!!
  • export BVZSH_THEME=โ€™THEME MODEโ€™
    • Restrictions: Work only in ~/.ztheme
  • THEME MODE list: auto, powerline, simple, powerline-single, simple-single
    • auto: Default is powerline.
      When not support xterm or 256 color, simple theme Activate.
  • COLOR MODE list: auto, flex, fixed
    • auto: Deafault is fixed.
      When not support xterm or 256 color, flex color Activate.
  • Icon MODE list: auto, nerd, powerline
    • auto: Deafault is nerd.
      When ssh or root, powerline icon Activate.
  • FAQ: Why do not you support zsh-theme anymore? || Can not change during use?
    This isnโ€™t supported by powerlevel10k.

Git.

The interaction with Git is easy compared to the file manager.

https://user-images.githubusercontent.com/25581533/53680863-67236280-3d24-11e9-826b-ae88fc345177.pnghttps://user-images.githubusercontent.com/25581533/53680866-6ab6e980-3d24-11e9-8ad1-3cd6b087ee36.pnghttps://user-images.githubusercontent.com/25581533/53680870-6c80ad00-3d24-11e9-8a1e-0171231299d9.png
https://user-images.githubusercontent.com/25581533/53680872-6ee30700-3d24-11e9-9e77-36707397151a.pnghttps://user-images.githubusercontent.com/25581533/53680874-74d8e800-3d24-11e9-804d-9f2eb16c370f.pnghttps://user-images.githubusercontent.com/25581533/53680876-76a2ab80-3d24-11e9-8d72-56c85a3e8bf2.png

In turn

Source - Add any file - Modify file
Staging - Commit - Push

1.2 Easy Command Input.

More Features: Wiki:Features

Auto Pair.

https://user-images.githubusercontent.com/25581533/53681046-f29df300-3d26-11e9-8299-cdf4d189fa1d.png Match parentheses, quotes, etc.

Fix.

https://user-images.githubusercontent.com/25581533/53681092-96879e80-3d27-11e9-80ca-73bc56150ec9.png If you canโ€™t find the command, suggest a correction.
If the execution is not done properly, just typing โ€™fuckโ€™. It will suggest.

Display Info.

https://user-images.githubusercontent.com/25581533/53681099-b4ed9a00-3d27-11e9-9388-cde276b64686.png Commands that can be abbreviated are indicated by a Alias tip.
If you press โ€™<TAB>โ€™ while typing command, it is recommended to divide by category.

https://user-images.githubusercontent.com/25581533/53681069-3db80600-3d27-11e9-8e6c-89f8cb71bd96.pnghttps://user-images.githubusercontent.com/25581533/53681119-0564f780-3d28-11e9-9afd-35c7e0e03044.png

You can search history by pressing the up(โ†‘) arrow key.

Integration with Fzf.

https://user-images.githubusercontent.com/25581533/53681129-334a3c00-3d28-11e9-97b1-b0cd56aac3af.png

  • Ctrl+t: File, Directory select.(Multiple selecting use <TAB>)
  • Ctrl+r: History select.
  • Alt+c: Directory select.
  • Command ** +<TAB>: Select after vi ** as input.
  • ssh, telnet, kill, unset, export..etc with integration.

Please refer to fzf for more information.

Git.

Very simple to use git.

  • c: commit
  • a: add
  • p: push
  • u: pull
  • r: remote
  • s: status

Git X Fzf https://user-images.githubusercontent.com/25581533/57051067-a0436900-6cba-11e9-93bb-df84b795d0b2.png glo screenshot.

  • ga: git add
  • glo: git log
  • gi: gitignore
  • gd: git diff
  • gcf: git checkout
  • gss: git stash
  • gclean: git clean

Etc.

https://user-images.githubusercontent.com/25581533/53681139-4ceb8380-3d28-11e9-8e92-9549302afdc0.png

  • bookmark [mark]:Bookmark to [mark].
  • jump [mark]:Move to [mark].
  • showmarks [mark]:Show [mark]โ€™s directory.
  • deletemark [mark]:Delete [mark].
  • cd <dots>: Move to the upper directory by the number of <dots>.
  • j [keyword]: Move to [keyword] similar directory.

1.3 Terminal Utility.

Internet Tools.

https://user-images.githubusercontent.com/25581533/53681148-6ee50600-3d28-11e9-909c-674b0b359ebb.png

  • prettyping: Show pretty ping.
  • ip-info: Show ip info.

Terminal Image Viewer.

https://user-images.githubusercontent.com/25581533/53681154-80c6a900-3d28-11e9-8510-385e49f173f2.png Show image like preview.
You can use with command img

Useage: img FILE_NAME TIME
(TIME default 2s)

img Feature

  • Supported: Konsole, Xterm, Urxvt, Terminology, Yakuake, Terminal.app
  • Unsupported: Terminator, Hyper, Tilix, gnome terminal, Guake, LXterminal, Putty, Alacritty

for unsupported Terminals
use tiv or fim

Weather.

https://user-images.githubusercontent.com/25581533/53681166-a6ec4900-3d28-11e9-80d3-a010cba7fa83.png Useage:
weather or weather LOCALE LANGUAGE(option)

Default Language: Your systemโ€™s language

Map.

https://user-images.githubusercontent.com/25581533/53681169-abb0fd00-3d28-11e9-9cf1-85bf29227ab2.png Useage:
map

2. Install.

2.1 Supported Platforms.

  • Linux

Debin-based(Ubuntu, Debian, Mint, ..), RPM-based(Fedora, CentOS, Redhat, ..), Pacman-based(Arch, Manjaro, Antergos, ..)

  • Others

Mac, FreeBSD-based

  • Requirements
    • bash
  • Install
git clone https://github.com/black7375/BlaCk-Void-Zsh.git ~/.zsh
bash ~/.zsh/BlaCk-Void-Zsh.sh

Then, terminal font set to one of Nerd Fonts (font installโ€™s 1 option is hack nerd font) && restart.

When you want to use with awesome tmux, Check BlaCk-Void-Tmux

  • Beta Version
git clone -b powertools https://github.com/black7375/BlaCk-Void-Zsh.git ~/.zsh
bash ~/.zsh/BlaCk-Void-Zsh.sh

2.2 Docker

Pull or Build docker

docker pull alstjr7375/bvzsh:latest
# or
git clone https://github.com/black7375/BlaCk-Void-Zsh.git && cd BlaCk-Void-Zsh/Docker
docker build --tag=alstjr7375/bvzsh:lastest .

Run!!

docker run --rm -it alstjr7375/bvzsh

2.3 Manual Install (Others).

  • Requirements
  • Install
    • Git Clone
      git clone https://github.com/black7375/BlaCk-Void-Zsh.git ~/.zsh && cd ~/.zsh
    • zinit(replace antigen, old name: zplugin)
      mkdir ~/.zplugin
      git clone https://github.com/zdharma-continuum/zinit.git ~/.zplugin/bin
              
    • nerdfont(powerline support font)
      git clone https://github.com/ryanoasis/nerd-fonts.git
      cd nerd-fonts && ./install.sh
      cd ..
              

      or
      Install font from Nerd Fonts.

    • Add to .zshrc

      Source File[Recommend]
      echo "source BlaCk-Void.zshrc" >> ~/.zshrc

      or Link
      ln -svf BlaCk-Void.zshrc ~/.zshrc

      or Copy(Canโ€™t zsh-update)
      cp -v BlaCk-Void.zshrc ~/.zshrc

    • Zsh Shell Set
      sudo chsh -s /usr/bin/zsh

      or
      sudo chsh -s $(which zsh)

    • Terminal set

    Terminal font set to one of Nerd Fonts && restart.

2.4 Update.

zsh-update: BVZSH, plugin manger, plugins update.
font-update: Nerdfont Update

3. Info.

3.1 Theme.

3.2 Plugins.

Plugin Manager

  • Zinit(Old Name: Zplugin)

Default Repo (robbyrussellโ€™s oh-my-zsh).

Lib

Plugin

  • Autojump: Enables Autojump if installed with homebrew, macports or debian/ubuntu package.
  • Command Not Found: This plugin uses the command-not-found package for zsh to provide suggested packages to be installed if a command cannot be found.
  • FZF: This plugin enables junegunnโ€™s fzf fuzzy auto-completion and key bindings.
  • Git: Adds a lot of git aliases and functions for pulling for dealing with the current branch.
  • Gitfast: This plugin adds completion for Git, using the zsh completion from git.git folks, which is much faster than the official one from zsh.
  • Pip: pip - completion plugin for the pip command.
  • Sudo: ESC twice: Puts sudo in front of the current command, or the last one if the command line is empty.
  • Thefuck: The Fuck plugin โ€” magnificent app which corrects your previous console command.
  • Tmux Provides aliases for Tmux.
  • Tmuxinator: Completions for tmuxinator.
  • Urltools: Provides two aliases to URL-encode(urlencode) and URL-decode(urldecode) strings.

Custom Repo

  • Zsh 256 Color: This ZSH plugin enhances the terminal environment with 256 colors.
  • Alias Tips: Help remembering those shell aliases and Git aliases you once defined.
  • Zsh Async: Because your terminal should be able to perform tasks asynchronously without external tools!
  • Zsh Autosuggestions: Fish-like fast/unobtrusive autosuggestions for zsh.
  • Zsh Autopair: A simple plugin that auto-closes, deletes and skips over matching delimiters in zsh intelligently
  • Zsh Completions: Additional completion definitions for Zsh.
  • Enhancd: A next-generation cd command with an interactive filter.
  • Fast Syntax Highlighting: Feature rich syntax highlighting for Zsh.
  • Forgit: Forgit is a utility tool for git taking advantage of fuzzy finder fzf.
  • Fzf Widgets: ZLE widgets of fzf.
  • Zsh Git Smart Commands: Wrappers for common git commands so they can be used in aliases very efficiently.
  • h: A command line tool to highlight terms
  • Zsh History Substring Search: Fish-like history search feature.
  • Zsh Interactive Cd: Press tab for completion as usual with fzf.
  • Zsh Lazyenv: Environments for lazy load commands and speed up start up time of zsh.
  • Zsh Marks: A port of Bashmarks (simple bookmarking plugin by Todd Werth) for oh-my-zsh
  • Zsh Notify: Desktop notifications for long-running commands in zsh.
  • TLDR: Simplified and community-driven man pages http://tldr-pages.github.io/
  • up: Move to the upper directory by the number of <dots>.

3.3 My Terminal Environment.

  • OS: Kubuntu 18.10
  • Terminal: Konsole
  • Font: Hack Nerd Font
  • Color Scheme: Breeze

black-void-zsh's People

Contributors

azzu avatar black7375 avatar sdrstone1 avatar ss-o avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

black-void-zsh's Issues

Modulize, Customize

First of all, I plan to divide it as follows.

  • theme
  • plugin
  • zsh option
  • alias

Cannot install font, and emoji is not working

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Tell me when it happens.

  • Install
  • Run
  • Update
  • Others: explain

Expected behavior
Cannot install font, and emoji is not working

Screenshots

  • font error
โ†ณ ./install_font.sh
--------------------
  Fonts Settings

0) None Install Fonts.
1) Only Necessary Fonts(Will install Hack Nerd Font).
2) All Fonts Install(Nerd Fonts).
 [0/1/2]: 1
Install Hack Nerd Fonts.
Password:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
  • emoji error
image

Environment (please complete the following information):
General

  • OS(uname -a): Darwin Kernel Version 21.6.0
  • ZSH(zsh --version): zsh 5.9 (arm-apple-darwin21.3.0)

CheckList

  • Use latest commit
  • Custom in use
  • SSH

Additional context
Add any other context about the problem here.

Problem with libpython3.8.so.1.0

Hi, after the installation I have this error:

home/linuxbrew/.linuxbrew/Cellar/thefuck/3.30_1/libexec/bin/python3.8: error while loading shared libraries: libpython3.8.so.1.0: cannot open shared object file: No such file or directory

Terminal: Konsole
OS: KDE neon 5.19
Kernel: x86_64 Linux 5.3.0-62-generic
Shell: zsh 5.4.2
KDE 5.71.0 / Plasma 5.19.2

Problem in Centos 6 (install)

  • error message:
>>> bash ~/.zsh/BlaCk-Void-Zsh.sh 
----------------------------------------
         BlaCk-Void Zsh Setup
----------------------------------------

--------------------
  Downloads

OS NOT DETECTED, couldn't install packages.
  • my centos6 environment (default installed)
>>> ls -al /etc/*release
-rw-r--r--. 1 root root 28 Jun 26  2018 /etc/centos-release
lrwxrwxrwx. 1 root root 14 Jan 14 08:14 /etc/redhat-release -> centos-release
lrwxrwxrwx. 1 root root 14 Jan 14 08:14 /etc/system-release -> centos-release

>>> cat /etc/*release
CentOS release 6.10 (Final)
CentOS release 6.10 (Final)
CentOS release 6.10 (Final)

ohm.... code in BlaCk-Void-Zsh.sh

  ##Yum Package
  elif cat /etc/*release | grep ^NAME    | grep CentOS ; then                                               
    yum_install

i am try .. result : failed
>>> cat /etc/*release | grep ^NAME | grep CentOS
>>> echo $?
1

Disaster Recovery issue

[25590] Error loading Python lib '/tmp/_MEIVdsysT/libpython3.8.so.1.0': dlopen: libcrypt.so.1: cannot open shared object file: No such file or directory

Replace to Powerful CLI Tools

Is your feature request related to a problem? Please describe

GNU CoreUtils were a good tools.
People who use BSD or Mac for the first time often feel embarrassed or uncomfortable because they don't have Coreutils.

It doesn't mean that their are bad.
It's hard to access it because the options are different and it's unfamiliar and it's not enough information.
Like doas, there has a better utility.

There are ways to start with comparisons

Alternatives

Even automated scripts

Of course, there is also the opposite attempt.

However, more good tools have emerged recently.
They provide syntax highlighting and features found in GUI-based programs.
image

Many seem to be using relatively recent languages โ€‹โ€‹such as Rust or Go. (for reference)

Describe the solution you'd like

This is a replace target list.

Emoji Means

  • โœ”๏ธ: Selected
  • ๐Ÿง: Linux
  • ๐Ÿ: MacOS
  • ๐Ÿ˜ˆ: FreeBSD

FILE Utils

Target Tools Description Alternatives Priority Compatibility
cd Change the working directory euank/pazi / :heavy_check_mark: ajeetdsouza/zoxide / gsamokovarov/jump / whjvenyl/fasd 1 ๐Ÿง ๐Ÿ
cp Copies a file or directory arijit79/cn 2
dir / ls Lists the files in a directory โœ”๏ธ ogham/exa + trapd00r/LS_COLORS / Peltoche/lsd / athityakumar/colorls / supercrabtree/k 1 ๐Ÿง ๐Ÿ
du Shows disk usage on file systems Byron/dua-cli / rofl0r/ncdu 3
find Find files โœ”๏ธ sharkdp/fd 1 ๐Ÿง ๐Ÿ
grep Search text for a pattern โœ”๏ธ BurntSushi/ripgrep 1 ๐Ÿง ๐Ÿ
rm Removes (deletes) files, directories, device nodes and symbolic links nivekuil/rip 2
None Display statics about code XAMPPRocky/tokei 3
None File manager jarun/nnn / ranger/ranger 3
None Upload and share file dutchcoders/transfer.sh / keep.sh 2

VIEW Utils

Target Tools Description Alternatives Priority Compatibility
cat Concatenates and prints files on the standard output โœ”๏ธ sharkdp/bat 1 ๐Ÿง ๐Ÿ
cmp / diff Compare two files so-fancy/diff-so-fancy / :heavy_check_mark: dandavison/delta 1 ๐Ÿง ๐Ÿ
more / less Display files on a page-by-page basis Riey/rust-pager / tigrawap/slit / zorgnax/les / FauxFaux/most-pager 2
od / hexdump / xxd Creates a hex dump of a given file or standard input sharkdp/hexyl 2
None Log viewer tstack/lnav 3

NETWORK Utils

Target Tools Description Alternatives Priority Compatibility
ssh Cryptographic network protocol for operating network services securely over an unsecured network mobile-shell/mosh 2
wget Retrieves content from web servers axel-download-accelerator/axel / aria2/aria2 2
ping Test the reachability of a host on an Internet Protocol (IP) network โœ”๏ธ denilsonsa/prettyping 1 ๐Ÿง ๐Ÿ ๐Ÿ˜ˆ
top Display Linux processes nicolargo/glances / ClementTsang/bottom / htop-dev/htop 3
None HTTP Client httpie/httpie 3

OTHER Utils

Target Tools Description Alternatives Priority Compatibility
dmesg Prints the message buffer of the kernel polyverse/rmesg 2
man Display system documentation raylee/tldr-sh-client / :heavy_check_mark: dbrgn/tealdeer / pepa65/tldr-bash-client 1 ๐Ÿง
sudo Allows users to run programs with the security privileges of another user slicer69/doas 2
watch Execute a program periodically, showing output fullscreen watchexec/watchexec / eradman/entr 3
None Terminal session recorder asciinema/asciinema 3
None CLI snippet manager knqyf263/pet 3

Describe alternatives you've considered

Through the classification process in the future, I will replace the commonly used utilities and make it easier to install other utilities.

If there is no benefit, we should not replace it.
The compatibility of the program is also considered.

Additional context

Anyone can recommend a good Utils!!!

  • More Features
  • More Efficient
  • More Safe

[error] .zinit-load-plugin:source:112: no such file or directory: robbyrussell---oh-my-zsh/plugins/docker/_docker

Describe the bug
A clear and concise description of what the bug is.
zsh ์ฒซ ์‹คํ–‰ ์„ธํŒ…์—์„œ ํ•ด๋‹น error message ๊ฐ€ ๋‚˜์˜ค๋Š” ๊ฒƒ์„ ํ™•์ธํ•˜์˜€์Šต๋‹ˆ๋‹ค.
Black-Void.zshrc ์ดˆ๊ธฐ ์„ธํŒ… ์ค‘ ๋„์ปค ํ™˜๊ฒฝ์ด ์žˆ๋‹ค๋ฉด /docker/_docker ๋””๋ ‰ํ„ฐ๋ฆฌ๋ฅผ ์ ‘๊ทผํ•˜๋Š” ๊ฒƒ์„ ํ™•์ธํ•˜์˜€์Šต๋‹ˆ๋‹ค.
ํ•ด๋‹น ๋‚ด์šฉ์ด ํ•„์š”ํ•œ ๊ฑด์ง€ ํ™•์ธ์ด ํ•„์š”ํ•  ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค.

To Reproduce
Tell me when it happens.

  • Run

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

image

Environment (please complete the following information):
General

  • OS(uname -a): Darwin eunsolui-MacBookAir.local 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:27 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T8103 arm64
  • ZSH(zsh --version): zsh 5.9 (x86_64-apple-darwin23.0)

CheckList

  • Use latest commit
  • Custom in use
  • SSH

Additional context
Add any other context about the problem here.

[Question] how to unalias?

It might be silly question,
but after installed BlaCk-Void-Zsh,
I couldn't unalias Oh-My-Zsh preset alias commend.
I was unalias gbs in .zshrc
but now it didn't work.
I put same command on .BlaCk-Void.zshrc,
but it didn't work.

where should I put the unalias command?

okay now what?

I got it installed arcolinux, but now how do I implement it so when I open a terminal I see the changes? I have not found anything in here to tell/show me how to finish what was started.

์˜ค๋ฅ˜๊ฐ€ ๋ฐœ์ƒ์„ ํ•ฉ๋‹ˆ๋‹ค...ใ… ใ… 

BlaCk-Void-Zsh๋ฅผ ์ž˜๋งŒ๋“ค์–ด ์ฃผ์…”์„œ ์ž˜์‚ฌ์šฉ์„ ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

์‚ฌ์šฉ์ค‘ ์•ฝ๊ฐ„์˜ ์˜ค๋ฅ˜?? ๋ฉ”์„ธ์ง€๊ฐ€ ํ™•์ธ์ด ๋˜์–ด ์ด๋ ‡๊ฒŒ ๊ธ€์„ ์ž‘์„ฑํ•ฉ๋‹ˆ๋‹ค.

์–ธ์ œ ์‹œ๊ฐ„๋‚˜์‹ค๋•Œ ํ•œ๋ฒˆ ์‚ดํŽด๋ด ์ฃผ์‹œ๋ฉด ๊ฐ์‚ฌํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค.

os : macOS Big Sur 11.2.3

์˜ค๋ฅ˜ ๋‚ด์šฉ์€ ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค.

> source ~/.zshrc
init:pyenv initialization not cached, caching output of: init:pyenv
(eval):5: defining function based on alias `pyenv'
(eval):5: parse error near `()'
This theme is not available.

@ .zshrc ํŒŒ์ผ์˜ ๋‚ด์šฉ์€ ์•„๋ž˜์™€ ๊ฐ™์Šต๋‹ˆ๋‹ค.

   if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
     source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
   fi
  
  export FZF_BASE=/usr/local/opt/fzf/install
  set rtp+=/usr/local/opt/fzf
  export PATH="$HOME/.pyenv/bin:$PATH"
  export PATH="/usr/local/bin:$PATH"
  export LDFLAGS="-L/usr/local/opt/zlib/lib"
  export CPPFLAGS="-I/usr/local/opt/zlib/include"
  export PATH="/usr/local/opt/icu4c/bin:$PATH"
  export PATH="/usr/local/opt/icu4c/sbin:$PATH"
 
  alias python=/Users/jskim/.pyenv/versions/3.8.8/bin/python3
  alias pip=/Users/jskim/.pyenv/versions/3.8.8/bin/pip3

  code () { VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $* ;}
 
 
  [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
 
  if command -v pyenv 1>/dev/null 2>&1; then
   eval "$(pyenv init -)"
  fi
 
 29 source /Users/jskim/.zsh/BlaCk-Void.zshrc

XGetInputFocus returned the focused window of 1. This is likely a bug in the X server.

Hi, I appreciate your work.
I using iMac at home and Macbook pro at office.
Both of MacOS version is Catalina.
On iMac, it works. But on a MacBook, below error occurs from every command.
And XQuartz app is showing on Dock.
Could you like to help me?

XGetInputFocus returned the focused window of 1. This is likely a bug in the X server.
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Resource id in failed request:  0x1
  Serial number of failed request:  20
  Current serial number in output stream:  20

zsh-notify: unsupported environment

Hi, after the last update, when I open a new terminal, appears the error zsh-notify: unsupported environment

This problem happens in WSL and KDE Neon.

Thanks

hello

hello how are you

great script and save me alot of time

i installed it as user and all is ok

but as root i cant install ,


     BlaCk-Void Zsh Setup


Downloads

ID_LIKE=debian
Hit:1 http://mirror.karneval.cz/pub/linux/kali kali-rolling InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
ack is already the newest version (3.3.1-1).
curl is already the newest version (7.68.0-1).
git is already the newest version (1:2.25.1-1).
powerline is already the newest version (2.7-3).
tmux is already the newest version (3.0a-2).
w3m-img is already the newest version (0.5.3-37+b1).
wmctrl is already the newest version (1.07-7+b1).
xdotool is already the newest version (1:3.20160805.1-4).
zsh is already the newest version (5.8-4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Now, Install Brew.
Don't run this as root!

i want to install this script as root also to custom my root zsh profile

Fail to install on MacOS, sed error

If I run bash ~/.zsh/BlaCk-Void-Zsh.sh, I get following error.

sed: 1: "/Users/alienzin/.zshrc": extra characters at the end of d command

sed command produces the error.

#Remove zplugin installer contents
sed -i '/[zZ]plugin/d' ~/.zshrc`

If I change sed -i to sed -i '', then it works fine on my MacOS.

Change on Zplugin repository

ZPlugin repository is moved to "https://github.com/zdharma-continuum/zinit.git".

I don't have a screenshot for error messages due to this issue. The messages include that zplugin command does not exist.

Here is how I solved this issue. (Environment: Mac OS Monterey)

  1. Install "https://github.com/zdharma-continuum/zinit.git" manually.
  2. Go to the directory of the installed program (in my case, ~/.local/share/zinit)
  3. Create a link from zinit.git directory to bin
 ln -s ~/.local/share/zinit/zinit.git ~/.local/share/zinit/bin
  1. Change some lines of ~/.zsh/BlaCk-Void.zshrc
    • ZPLUGIN_DIR=~/.zplugin to ZPLUGIN_DIR=~/.local/share/zinit
    • ZPLUGIN_BIN=${ZPLUGIN_DIR}/zplugin.zsh to ZPLUGIN_BIN=${ZPLUGIN_DIR}/bin/zinit.zsh
  2. Run source ~/.zshrc

Can you help me?

Screenshot from 2019-09-05 10-42-31

I've installed it and I have only one problem.
As you see in the picture, I can barely see 'on the master' part.
How can I change that part to make it vivid?

(I am using ubuntu 19.04)

Problem in Manjaro installation

Hi, I try to make the installation in Manjaro but this problem appear and the installation gets stuck.

NAME="Manjaro Linux"
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
warning: zsh-5.7.1-1 is up to date -- reinstalling
error: target not found: autojump
warning: curl-7.67.0-3 is up to date -- reinstalling
warning: git-2.24.0-1 is up to date -- reinstalling
warning: ripgrep-11.0.2-1 is up to date -- reinstalling

System info:

OS: Manjaro 18.1.4 Juhraya
Kernel: x86_64 Linux 5.4.2-1-MANJARO
DE: KDE 5.64.0 / Plasma 5.17.4
ZSH: 5.7.1 (x86_64-pc-linux-gnu)

macOS Install Error

Describe the bug
A clear and concise description of what the bug is.

Running install script asks sudo permission, and brew throws permission error.

kollhong@Macintosh-4 ~ % bash ~/.zsh/BlaCk-Void-Zsh.sh
----------------------------------------
         BlaCk-Void Zsh Setup
----------------------------------------

--------------------
  Downloads

Password:
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
kollhong@Macintosh-4 ~ %  

to install this BlaCk-Void-Zsh, I commented out the 30th line (sudo pacapt -Sy)
and manually ran command sudo pacapt -Sy before running install script.

I thought sudo permission affects one single line, but it seems that sudo permission affects subsequent commands.

To Reproduce
Tell me when it happens.

  • [X ] Install
  • Run
  • Update
  • Others: explain
git clone https://github.com/black7375/BlaCk-Void-Zsh.git ~/.zsh
bash ~/.zsh/BlaCk-Void-Zsh.sh

Expected behavior
A clear and concise description of what you expected to happen.

install BlaCk-Void-Zsh

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):
General

  • OS(uname -a): macOS 10.15.7 on iMac 5K 2015
    Darwin Macintosh-4.local 19.6.0 Darwin Kernel Version 19.6.0: Mon Aug 31 22:12:52 PDT 2020; root:xnu-6153.141.2~1/RELEASE_X86_64 x86_64
  • ZSH(zsh --version): zsh 5.8 (x86_64-apple-darwin19.3.0)

CheckList

  • [V] Use latest commit
  • Custom in use
  • SSH

Additional context
Add any other context about the problem here.

Error in ZSH init

Hi, i did the installation in kde neon with konsole, zsh and powerlevel10k. When init zsh this message appears:

zsh tmux plugin: tmux not found. Please install tmux before using this plugin.

Command 'tmux' not found, but can be installed with:

sudo snap install tmux # version 2.3, or
sudo apt install tmux

See 'snap info tmux' for additional versions.

how can i configure the theme to dont use tmux ?.

PD. The theme is awesome!.

failed to BlaCk-Void-Zsh.sh

git clone https://github.com/black7375/BlaCk-Void-Zsh.git ~/.zsh
bash ~/.zsh/BlaCk-Void-Zsh.sh

and...

Usage: brew install [options] formula|cask [...]

Install a formula or cask. Additional options specific to a formula may be
appended to the command.

Unless HOMEBREW_NO_INSTALL_CLEANUP is set, brew cleanup will then be run for
the installed formulae or, every 30 days, for all formulae.



Error: Invalid usage: This command requires at least 1 formula or cask argument.

Big Sur 11.4

Error when running BlaCk-Void-Zsh.sh on Manjaro Linux

When I run the installation script, this always shows up at the end

Apply Settings

/home/pkane21/.zshrc found.
Now Backup..
'/home/pkane21/.zshrc' -> '/home/pkane21/.zshrc.bak'
/home/pkane21/.zshenv not found.
/home/pkane21/.zlogin not found.
Changing shell for root.
chsh: Shell not changed.
./BlaCk-Void-Zsh.sh: line 156: zcompile: command not found

I'm not sure what I'm doing wrong and I can't figure out the fix by myself. I'd really like some assistance with this

Suggest your config

Is there anything useful in the existing Bash or Zsh settings that you have?

Recommend it!

Increase contrast between selected tab and other tabs

Thanks a lot for your beautiful theme! It makes the toolbars so much more compact!

Is there any hack to make the currently selected tab lighter so it stands out more between the other tabs? I assume I need to edit userChrome.css to change the colour, but could you give me some pointers for the lines to look at?

Screenshot 2021-08-17 at 18 32 05

How to uninstall?

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Tell me when it happens.

  • Install
  • Run
  • Update
  • Others: explain

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):
General

  • OS(uname -a): catalina
  • ZSH(zsh --version): zsh 5.7.1

CheckList

  • Use latest commit
  • Custom in use
  • SSH

Additional context
Add any other context about the problem here.

How to uninstall in mac??

Problem to update

Describe the bug
When I use the comand zsh-update, appears the github login in the console

To Reproduce
Type zsh-update and the github login appear

  • Install
  • Run
  • Update
  • Others: explain

Expected behavior
The update process don't ask for any github account.

Environment (please complete the following information):
General

  • OS(uname -a): 5.4.23-1-MANJARO
  • ZSH(zsh --version): zsh 5.8 (x86_64-pc-linux-gnu)

CheckList

  • Use latest commit
  • Custom in use
  • SSH

Slow start up / resetting on startup

Describe the bug
When I open a new zsh shell, it takes around 2 seconds to start. There is strange behavior as well: it loads the zsh prompt, then the prompt disappears and reappears after a short delay. This makes zsh pretty hard to use. I have included a video and the output from zsh/zprof.

Further, when this new shell does finally appear, it takes quite a long time for the prompt to become interactive. You can see this in the video before "zshzshzhszhshzshzs" appears. (I am typing zsh repeatedly before the prompt becomes interactive).

To Reproduce
Any time I run ZSH.

Expected behavior
Shouldn't take so long too load, definitely shouldn't "refresh".

Screenshots
https://youtu.be/rmL7wT9aRA4
zprof.txt

**Environment (please complete the following information):**
General
 - OS: Windows 10 2004
- Running WSL2 with Ubuntu 20.04

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.