mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-06 02:51:32 +01:00
feat: '*' that's enough
This commit is contained in:
parent
5e1c41ed62
commit
50d26b46ad
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ build_message() {
|
||||||
remove_flags() {
|
remove_flags() {
|
||||||
local regex="${(j:|:)_git_commit_flags}"
|
local regex="${(j:|:)_git_commit_flags}"
|
||||||
|
|
||||||
echo $(sed -E "s/\s($regex)\s|\s($regex)$//g" <<<"$1")
|
echo -n $(sed -E "s/\s*($regex)\s*//g" <<< "$1")
|
||||||
}
|
}
|
||||||
|
|
||||||
while [[ $i -lt $argc ]]; do
|
while [[ $i -lt $argc ]]; do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue