My ZSH config
Go to file
Alex D. 94e8962b35
Update readme
2020-11-06 21:29:44 +01:00
powerlevel-config Move async fetches to misc-scritps and remove uircd temporarily 2020-11-06 18:17:43 +01:00
powerlevel10k@2fc7257486 Move sourcing to preferences, bump commits and tweak status 2020-11-06 16:22:33 +01:00
zsh-autosuggestions@ae315ded4d Fix commit fuckery 2020-04-07 15:45:08 +02:00
zsh-syntax-highlighting@1715f39a46 Move sourcing to preferences, bump commits and tweak status 2020-11-06 16:22:33 +01:00
.gitignore Add everything needed in own configs and update some stuff around 2020-05-22 14:56:46 +02:00
.gitmodules Fix submodules 2020-04-07 15:55:28 +02:00
.zshrc Remove doas/sudo prepend 2020-11-06 15:12:44 +01:00
README.md Update readme 2020-11-06 21:29:44 +01:00
bindings.zsh Update a few things and remote ssh gpg socket 2020-10-11 11:28:10 +02:00
completions.zsh Update autoloads, move some aliases, use cuda, use here strings, improve mpv latency, update commits 2020-07-19 00:43:39 +02:00
preferences.zsh Move async fetches to misc-scritps and remove uircd temporarily 2020-11-06 18:17:43 +01:00

README.md

My ZSH config

This is my daily driver for my shell, it's heavily customized and relies on a lot of ZSH features

It is enhanced by a few things which are submodules of this repo:

  • Powerlevel10k
  • zsh-autosuggestions
  • zsh-synthax-highlighting

Some custom prompts depend on these binaries in your path:

  • sqlite (if using the youtube RSS plugin [depends on newsboat cache database])
  • busctl (for dbus interactions)

While i do attempt to make this usable widely, don't rely on it. If you want to use this and have it work as you want it, it's expected that you can read manual pages and know at least a bit of shell scripting.

These variables should be set in your .zshenv or your profiles/environment files

ZDOTDIR

This environment variable should be set to the root of your repository (usually ~/.config/zsh or ~/.zsh)

zstyles

:custom:preferences prompt

Because font support detection is a bit complicated, the prompt variable in this zstyle allows you to manually toggle on a specific prompt (now only p9k is available)

:custom:prompts:mpv socket

This should be the location of the mpv socket that is available via the input-ipc-server. It will check if the socket exists, and if it does it will use it. NOTE: While this is fast, it has it's drawbacks. It currently relies on lots of assumptions and that should be understood. JSON parsing is done assuming that the title is a string and that the string has no special characters.

:custom:prompts:mail glob

This should be a glob pattern that would match any new mails. This works the best with the Mailbox format as every new mail is a file. mbox or spoolfiles may be supported in the distant future, but i don't plan to do that.