A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Doc0x1/zautoload below:

Doc0x1/zautoload: Autoloader for your custom Zsh config files. Intended for use with the Oh-My-Zsh plugin manager.

Plugin: zautoload Author: Doc0x1 Type: Oh My Zsh Version: 1.0.0 License: MIT
  1. Clone the repo to your ohmyzsh plugin folder:
git clone --depth=1 https://Doc0x1/zautoload $ZSH/custom/plugins/zautoload
  1. Add zautoload to your .zshrc file like so:
plugins=(...otherplugins zautoload)

This plugin will automatically load any Zsh config files located in your user's Zsh configuration directory.

These files MUST FOLLOW the .<name>.zsh naming convention, examples:

Now, rather than adding lines like the following to your .zshrc file:

# ~/.zshrc

#Custom aliases
[[ -f ~/.aliases.zsh ]] && . ~/.aliases.zsh
#Custom functions
[[ -f ~/.functions.zsh ]] && . ~/.functions.zsh

#To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh

This plugin will load these configuration files for you.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4