Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
e3-require
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anders Lindh Olsson
e3-require
Commits
1c9689bf
Commit
1c9689bf
authored
3 years ago
by
Juntong Liu
Browse files
Options
Downloads
Patches
Plain Diff
iocsh_bash_id -> iocsh_id, iocsh_bash_completion -> iocsh_completion
parent
d59bef55
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
require-ess/tools/iocsh
+5
-5
5 additions, 5 deletions
require-ess/tools/iocsh
require-ess/tools/iocsh_complete.bash
+2
-2
2 additions, 2 deletions
require-ess/tools/iocsh_complete.bash
with
7 additions
and
7 deletions
require-ess/tools/iocsh
+
5
−
5
View file @
1c9689bf
...
...
@@ -85,14 +85,14 @@ BASECODE="$(basecode_generator)"
check_mandatory_env_settings
# ${BASHPID} returns iocsh PID
iocsh_
bash_
id
=
${
BASHPID
}
iocsh_id
=
${
BASHPID
}
#
SC_VERSION+
=
-PID-
${
iocsh_
bash_
id
}
SC_VERSION+
=
-PID-
${
iocsh_id
}
#
# We define HOSTNAME + iocsh_
bash_
id
IOCSH_PS1
=
$(
iocsh_ps1
"
${
iocsh_
bash_
id
}
"
)
REQUIRE_IOC
=
$(
require_ioc
"
${
iocsh_
bash_
id
}
"
)
# We define HOSTNAME + iocsh_id
IOCSH_PS1
=
$(
iocsh_ps1
"
${
iocsh_id
}
"
)
REQUIRE_IOC
=
$(
require_ioc
"
${
iocsh_id
}
"
)
#
# Default Initial Startup file for REQUIRE and minimal environment
# Create TMP_PATH path in order to keep tmp files secure until
...
...
This diff is collapsed.
Click to expand it.
require-ess/tools/iocsh_complete.bash
+
2
−
2
View file @
1c9689bf
#!/usr/bin/env bash
_iocsh_
bash_
completion
()
{
_iocsh_completion
()
{
local
cur prev opts mods
COMPREPLY
=()
cur
=
"
${
COMP_WORDS
[COMP_CWORD]
}
"
...
...
@@ -38,4 +38,4 @@ _iocsh_bash_completion() {
mapfile
-t
COMPREPLY < <
(
compgen
-f
--
"
${
cur
}
"
)
}
complete
-o
filenames
-o
nospace
-o
bashdefault
-F
_iocsh_
bash_
completion iocsh
complete
-o
filenames
-o
nospace
-o
bashdefault
-F
_iocsh_completion iocsh
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment