2021-03-31 12:45:36 +02:00
|
|
|
shellnotes imports rule
|
|
|
|
=======================
|
|
|
|
|
|
|
|
The main script for running shellnotes is .shellnotes.sh found in ~/.shellnotes/.shellnotes.sh after
|
2023-08-21 16:49:52 +02:00
|
|
|
the installation. This file contains the user's default shell's shebang, found during the installation
|
|
|
|
proccess, as well as all the imports needed for the program to work. These are:
|
2021-03-31 12:45:36 +02:00
|
|
|
|
|
|
|
1. Commands (most of the files found in /util)
|
2023-08-21 16:49:52 +02:00
|
|
|
2. Scripts run every time the terminal is launched (i.e. Version retriever (getv))
|
|
|
|
3. "Hidden" commands (files containing a (.) in /util, actions for clearing space etc.)
|
2021-03-31 12:45:36 +02:00
|
|
|
|
|
|
|
In the .shellnotes.sh file, the imports are ordered like this:
|
|
|
|
|
2023-08-21 16:49:52 +02:00
|
|
|
#!user's shell
|
2021-03-31 12:45:36 +02:00
|
|
|
|
|
|
|
#Warnings
|
|
|
|
#Warnings
|
|
|
|
|
|
|
|
|
2023-08-21 16:49:52 +02:00
|
|
|
->scripts run every time the terminal is launched
|
2021-03-31 12:45:36 +02:00
|
|
|
|
2023-08-21 16:49:52 +02:00
|
|
|
->utility scripts (commands) found in ~/.shellnotes/util/
|
2021-03-31 12:45:36 +02:00
|
|
|
|
|
|
|
|
2023-08-21 16:49:52 +02:00
|
|
|
-> . ~/.shellnotes/util/shellnotes.sh -> The shellnotes command
|
2021-03-31 12:45:36 +02:00
|
|
|
|
|
|
|
|