Skip to content

Commit f6c412d

Browse files
committed
Command finish banner
1 parent 5a53460 commit f6c412d

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

EasyKey.git/ezk-git-atuc.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ checkoutWay() {
5959
git log --all --oneline
6060
echo "Select a commit to checkout:"
6161
read cname
62+
[ "$cname" = "" ] && waitonexit && return
6263
executeCommand "git checkout $cname -- ."
6364
}
6465

EasyKey.git/ezk-git-diff.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -101,11 +101,11 @@ diffStatus() {
101101
git fetch --all
102102
menuInit "Working with diffs"
103103
submenuHead "Different diff options:"
104-
menuItem a "actual branch vs. origin/actual branch. -> local repository vs. remote repository" headHead
105-
menuItem b "actual working dir vs. actual branch last commit -> work dir vs. local repository" dirHead
106-
menuItem c "actual working dir vs. other commits -> work dir vs. local repository" treeCommit
107-
menuItem d "commit vs. commit -> local repository vs. local repository" commitCommit
108-
menuItem e "branch vs. branch -> repository vs. repository (local/remote)" branchBranch
104+
menuItem a "actual branch vs. origin/actual branch" headHead
105+
menuItem b "actual working dir vs. actual branch last commit" dirHead
106+
menuItem c "actual working dir vs. other commits" treeCommit
107+
menuItem d "commit vs. commit" commitCommit
108+
menuItem e "branch vs. branch" branchBranch
109109
submenuHead "Specific diffs:"
110110
menuItem k "Diff since date" diffDate
111111
submenuHead "Other usefull stuff here:"

EasyKey.git/ezk-git-functions.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ function pushActual() {
3838
commitChanges
3939
pushChanges
4040
fi
41+
waitonexit
4142
}
4243

4344
function pushChanges () {

shellmenu.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,7 @@ callKeyFunktion () {
433433
clear && actionBanner "$description"
434434
importantLog "$action"
435435
eval "$action"
436+
finishBanner "$description"
436437
return 1
437438
fi
438439
done
@@ -447,6 +448,11 @@ actionBanner() {
447448
coloredLog "$actionline" $clrWhite $clrGray && echo
448449
}
449450

451+
finishBanner() {
452+
local bannerline="$(r_pad " Command Execution finished" "75" " ")"
453+
coloredLog "$bannerline" $clrWhite $clrGray && echo
454+
}
455+
450456
#################################################
451457
# Generates the menu from the menudatamap.
452458
# Globals:

0 commit comments

Comments
 (0)