Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
jupyterhub-paris-saclay
image
Commits
e49a700b
Commit
e49a700b
authored
Sep 22, 2020
by
Nicolas M. Thiéry
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Proper prompt and extglob configuration
parent
be31b031
Pipeline
#84372
passed with stage
in 59 minutes and 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Dockerfile
Dockerfile
+4
-2
No files found.
Dockerfile
View file @
e49a700b
...
@@ -10,8 +10,10 @@ RUN apt-get update && \
...
@@ -10,8 +10,10 @@ RUN apt-get update && \
apt-get clean
&&
\
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
rm
-rf
/var/lib/apt/lists/
*
# Setup default prompt and enable extended file globs
# Setup default prompt
RUN
echo
'export PS1=`echo $JUPYTERHUB_USER| sed s/-at-u-psud.fr//`"@jupyterhub \w \$ "\nshopt -s extglob'
>
/root/.bash_profile
RUN
echo
'export PS1=`echo $JUPYTERHUB_USER| sed s/-at-.*//`"@jupyterhub:\w\$ "'
>
/etc/profile.d/02-prompt.sh
# Enable extended file globs in bash
RUN
echo
'shopt -s extglob'
>
/etc/profile.d/03-extglob.sh
USER
$NB_UID
USER
$NB_UID
...
...
Nicolas Thiéry
@nicolas.thiery
mentioned in issue
#21 (closed)
·
Sep 24, 2020
mentioned in issue
#21 (closed)
mentioned in issue #21
Toggle commit list
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