- Added alias functions to all bin scripts using first-letter pattern (e.g., `av` for `activate-venv`, `cwl` for `commit-with-llm`) - Implemented collision resolution by extending aliases with additional letters when conflicts occur or when shadowing standard shell commands - Documented alias implementation approach in library.md with complete alias map for reference - Verified shell syntax with `bash -n` and ensured proper argument passing with `"$@"` - Updated prompt frontmatter to reflect completed state and model used (infomaniak/moonshotai/Kimi-K2.6)
31 lines
634 B
Bash
Executable File
31 lines
634 B
Bash
Executable File
#!/bin/bash
|
|
|
|
add-git-folder() {
|
|
if [[ -z "$1" ]]; then
|
|
echo '$1/url is empty.'
|
|
exit
|
|
fi
|
|
if [[ -z "$2" ]]; then
|
|
echo '$2/branch is empty.'
|
|
exit
|
|
fi
|
|
if [[ -z "$3" ]]; then
|
|
echo '$3/path is empty.'
|
|
exit
|
|
fi
|
|
local url="$1"
|
|
local branch="$2"
|