Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
ecfd1eca
Commit
ecfd1eca
authored
Apr 17, 2023
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm play: hide epm tool calls
parent
aef9e240
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
common.sh
play.d/common.sh
+11
-1
No files found.
play.d/common.sh
View file @
ecfd1eca
...
...
@@ -148,11 +148,21 @@ is_supported_arch "$(epm print info -a)" || fatal "Only '$SUPPORTEDARCHES' archi
check_tty
__showcmd_shifted
()
{
local
s
=
"
$1
"
shift
shift
$s
showcmd
"
$*
"
}
# add to all epm calls
EPM
=
"
$(
epm tool which epm
)
"
||
fatal
epm
()
{
if
[
"
$1
"
!=
"print"
]
;
then
#if [ "$1" = "tool" ] ; then
# __showcmd_shifted 1 "$@"
if
[
"
$1
"
!=
"print"
]
&&
[
"
$1
"
!=
"tool"
]
;
then
showcmd
"
$(
basename
$EPM
)
$*
"
fi
$EPM
"
$@
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment