Skip to content

qsoyq/shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shell

导入指定目录下的zshrc文件

if [[ -d "$directory_to_search" ]]; then
    for file in "$directory_to_search"/zshrc/*.zshrc; do
        if [[ -f "$file" ]]; then
            echo "Sourcing $file"
            source "$file"
        fi
    done
else
    echo "Directory '$directory_to_search' does not exist."
fi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published