Skip to content

Commit 1dd71aa

Browse files
re-add bash kernel install
1 parent 09639f1 commit 1dd71aa

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
cache: pip # Implicitly depends upon requirements.txt
3434

3535
- name: Install dependencies
36-
run: pip install -r requirements.txt
36+
run: pip install -r requirements.txt && python -m bash_kernel.install
3737

3838
# Build the book
3939
- name: Build the book

hsf-training-unix-shell/01-intro.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ jupytext:
88
format_version: 0.13
99
jupytext_version: 1.11.5
1010
kernelspec:
11-
display_name: bash
12-
language: bash
13-
name: bash
11+
display_name: Python 3
12+
language: python
13+
name: python3
1414
---
1515

1616
# Introducing the Shell
@@ -88,6 +88,8 @@ Let's get started.
8888
# this code is just to make sure
8989
# that bash is working properly for website display purposes
9090
# you can safely ignore it :)
91+
%%bash
92+
which bash
9193
bash --version
9294
```
9395

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ jupyter-book
22
matplotlib
33
numpy
44
ghp-import
5+
bash_kernel

0 commit comments

Comments
 (0)