Skip to content

personal zsh functions autoloaded to ~/.zshrc

Notifications You must be signed in to change notification settings

chriscerk/zfuncs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zfuncs

my personal zsh functions autoloaded into ~/.zshrc by adding the following:

fpath=( $ZFUNC_PATH "${fpath[@]}" )
autoload -U ${fpath[1]}/*(:t);

where $ZFUNC_PATH is an alias to this repo.

source: zsh guide

Current Template

Currently used as a VS Code Snippet

# ~/zfuncs/my-function
# NAME
# DESCRIPTION
__my-function () {
    echo "NAME: DESCRIPTION";
    echo "-----------";

    # todo: script here

    echo "-----------";
    echo "NAME Complete";
}

__my-function

About

personal zsh functions autoloaded to ~/.zshrc

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published