Skip to content

Commit

Permalink
Update shell magic docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Sep 21, 2014
1 parent 9289f22 commit cab2bd8
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions jupyter_kernel/magics/shell_magic.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@ def line_shell(self, *args):
%shell ls -al
%shell cd
Note: this is a persistent connection to a shell. Thus, cd will
change the shell and remember it. However, realize that this
"current directory" is not the same one that the notebook or
console uses.
Note: this is a persistent connection to a shell.
The working directory is synchronized to that of the notebook
before and after each call.
You can also use "!" instead of "%shell".
Expand Down Expand Up @@ -136,10 +135,9 @@ def cell_shell(self):
cd ..
ls -al
Note: this is a persistent connection to a shell. Thus, cd will
change the shell and remember it. However, realize that this
"current directory" is not the same one that the notebook or
console uses.
Note: this is a persistent connection to a shell.
The working directory is synchronized to that of the notebook
before and after each call.
You can also use "!!" instead of "%%shell".
"""
Expand Down

0 comments on commit cab2bd8

Please sign in to comment.