Skip to content

Commit

Permalink
Merge pull request #1 from MarkusSagen/Update-interactive-shell-alias
Browse files Browse the repository at this point in the history
Update the interactive shell commands
  • Loading branch information
MarkusSagen authored Aug 17, 2021
2 parents ee5b13f + a8e3bcb commit 5131a2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ pyenv versions --bare | grep -v "/" | xargs -L 1 pyenv register-kernel
To start up an interactive shell using the kernel for your currently active `pyenv` version:

```shell
jupyter console --kernel=$(pyenv version | awk '{print $1}')
jupyter console --kernel=$(pyenv version | head -n1 | cut -d ' ' -f1)
```

It might be useful to add an alias in your init file:

```shell
alias ipy="jupyter console --kernel=$(pyenv version | awk '{print $1}')"
alias ipy="jupyter console --kernel=$(pyenv version | head -n1 | cut -d ' ' -f1)"
```

0 comments on commit 5131a2c

Please sign in to comment.