wip
This commit is contained in:
parent
feb54694a4
commit
84e0d3b4b4
2 changed files with 11 additions and 4 deletions
|
@ -526,7 +526,13 @@ __git__() {
|
|||
case $commit_files in
|
||||
'./.') commit_message="wip" ;;
|
||||
*)
|
||||
echo "${GREEN}Committed files/folders: ${BOLD}${commit_files[*]}${NC}"
|
||||
local trimmed_files
|
||||
|
||||
for f in "${commit_files[@]}"; do
|
||||
trimmed_files+=("${f#./}")
|
||||
done
|
||||
|
||||
echo "${GREEN}Committed files/folders: ${BOLD}${trimmed_files[*]}${NC}"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue