Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LbEnv
Manage
Activity
Members
Labels
Plan
Issues
12
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
3
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
LHCb Core Software
LbEnv
Commits
fa02f242
Commit
fa02f242
authored
2 years ago
by
Chris Burr
Browse files
Options
Downloads
Patches
Plain Diff
Support running aliases.sh with "set -u"
parent
2a3fdbf7
No related branches found
No related tags found
1 merge request
!128
Support running aliases.sh with "set -u"
Pipeline
#3894615
passed with stage
in 49 minutes and 10 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/LbEnv/data/aliases.sh
+2
-2
2 additions, 2 deletions
python/LbEnv/data/aliases.sh
with
2 additions
and
2 deletions
python/LbEnv/data/aliases.sh
+
2
−
2
View file @
fa02f242
...
...
@@ -57,14 +57,14 @@ lb_set_workspace() {
}
alias
lb-set-workspace
=
lb_set_workspace
if
[
-n
"
$BASH_VERSION
"
-a
-n
"
$VIRTUAL_ENV
"
]
;
then
if
[
-n
"
$
{
BASH_VERSION
:-}
"
-a
-n
"
$
{
VIRTUAL_ENV
:-}
"
]
;
then
lb_enable_shell_completion
()
{
source
"
$VIRTUAL_ENV
/share/bash-completion/bash_completion"
}
alias
lb-enable-shell-completion
=
lb_enable_shell_completion
fi
if
[
-n
"
$ZSH_VERSION
"
-a
-n
"
$VIRTUAL_ENV
"
]
;
then
if
[
-n
"
$
{
ZSH_VERSION
:-}
"
-a
-n
"
$
{
VIRTUAL_ENV
:-}
"
]
;
then
lb_enable_shell_completion
()
{
source
"
$VIRTUAL_ENV
/share/zsh/zsh_completion"
}
...
...
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