Skip to content
Avindra Goolcharan edited this page Jun 5, 2021 · 20 revisions

Configuration

The config is expected at ~/.config/dirp/list. See the next section for a script that creates a basic config file.

Here is a sample with the intended usage/spec:

# Downloads (disk)|/mnt/hdd300/Downloads  <-- comments are supported (MUST be 1st char in line)

PXE Server|/mnt/tr200/ISOS
Videos|/mnt/space/Videos

Games|/mnt/space/Games
shared memory|/dev/shm
temp|/tmp

Setup script

Here are a few shell commands that can be used to scaffold a small starter config:

Note: cd with no arguments changes to your home directory.

cd
mkdir -p .config/dirp
printf "Temp|/tmp\nRoot fs|/\nShared memory|/dev/shm" >> .config/dirp/list

After the config file exists, dir cfg can be used to edit the config without referencing the config location.

Clone this wiki locally