- 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)
16 lines
375 B
Bash
Executable File
16 lines
375 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
status-git-folder() {
|
|
if [[ -z "$1" ]]; then echo "\$1 is empty."; exit; fi
|
|
local git_folders=$(ls-git-folder "$1")
|
|
|
|
echo 'Show status in git folders...'
|
|
for git_folder in $git_folders; do
|
|
echo -e "\nGit status of \033[32m$git_folder\033[0m:\n"
|
|
git -C "$git_folder" status
|
|
done
|
|
}
|
|
sgif() {
|
|
status-git-folder "$@"
|
|
}
|