-#!/bin/sh
# Filename: i$HOME/.ipython/ipythonrc
# Purpose: configuration file for ipython
# Authors: grml-team (grml.org), (c) Michael Prokop <mika@grml.org>
# Bug-Reports: see http://grml.org/bugs/
# License: This file is licensed under the GPL v2.
-# Latest change: Fre Mai 25 02:40:10 CEST 2007 [mika]
################################################################################
#***************************************************************************
# are described in detail in the Customization section of the IPython HTML/PDF
# manual.
-# Use \# to represent the current prompt number, and quote them to protect spaces.
+# Use \# to represent the current prompt number, and quote them to protect
+# spaces.
prompt_in1 'In [\#]: '
-# \D is replaced by as many dots as there are digits in the current value of \#.
+
+# \D is replaced by as many dots as there are digits in the
+# current value of \#.
prompt_in2 ' .\D.: '
+
prompt_out 'Out[\#]: '
#prompt_in1 '[ip] \C_LightBlue\u@\C_White\h \Y1 \# \C_White% '
# By choosing these you can organize your output any way you want.
#separate_in \n
+# Do *not* separate prompt lines, instead use default [z]sh behaviour:
separate_in 0
separate_out 0
separate_out2 0
# Load all the actual syntax extensions for shell-like operation, which live
# in the InterpreterExec standard extension.
-import_all IPython.Extensions.InterpreterExec
+# Warning: constructs like '[ x*3 for x in [1,2,3]]' might not work when
+# activating this module - see http://bts.grml.org/grml/issue618
+# import_all IPython.Extensions.InterpreterExec
#---------------------------------------------------------------------------
# Section: modules to import some functions from: 'from ... import ...'