Collection of all my scripts for Windows, MacOS, and all my Linux systems.
This is an overview of my wacky/unorthodox naming conventions.
- Descriptive names: Use descriptive names that convey the script's functionality. (eg.
configure_system
,update_dependencies
).
-
Python: Lowercase with underscores (e.g.,
script_name.py
). -
Shell (Bash, ZSH, POSIX sh / dash, Fish): Lowercase with hyphens (e.g.,
script-name.sh
). -
Powershell: PascalCase with verb-hyphen (e.g.,
Get-ProcessInformation.ps1
).
Explanation:
-
PascalCase: The first letter of each word is capitalized (e.g.,
GetProcessInformation
). -
Verb-Hyphen: When the name starts with a verb (action word), it's followed by a hyphen (-) before the noun describing the target (e.g.,
Get-Process
,Set-Service
). This aligns with the naming convention for built-in PowerShell cmdlets.