https://github.com/andyl/base_util
dotfiles and utility scripts
https://github.com/andyl/base_util
bash cfg dotfiles
Last synced: about 2 months ago
JSON representation
dotfiles and utility scripts
- Host: GitHub
- URL: https://github.com/andyl/base_util
- Owner: andyl
- Created: 2012-04-03T15:24:57.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2025-12-23T03:55:06.000Z (6 months ago)
- Last Synced: 2025-12-24T18:27:51.993Z (6 months ago)
- Topics: bash, cfg, dotfiles
- Language: Shell
- Homepage:
- Size: 81.3 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dotfile and Utility Scripts
## Test
~/src/datacat/README.md
## Usage
To use:
mkdir ~/util
cd ~/util
git clone git://github.com/andyl/base_util.git
base_util/init
## Layout
You can have any number of util directories that
live alongside base_util. For example, you may
have private utilities for development, or
deployment.
Each directory should have two sub-directories:
'cfg' and 'bin'.
Each bin directory will go on your path.
Each file and directory under 'cfg' beginning with
an underscore will be symlinked as a ~/.dotfile.
Some programs store their configuration data under
the ~/.config directory. To support this, the
cfg symlinking supports nested config directories.
Nested paths must be encoded using the following filename conventions:
-> a single '+' character to show the dotfile root
-> a single '^' character to show where to built the symlink
## Examples
-------------------------------------------------
For example:
~/util/base_util/cfg/+config/app/^subdir/myfile
Will generate:
~/.config/app/subdir -> ~/util/base_util/cfg/+config/app/^subdir
-------------------------------------------------
For example:
~/util/base_util/cfg/+config/^app/myfile
Will generate:
~/.config/app -> ~/util/base_util/cfg/+config/^app
## END