This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Simple grep pattern for showing only the active part of IPython config files | |
# Strips comments (only start-of-line comments, which all auto-generated lines are) | |
# and empty lines. | |
# | |
# Usage: showipconfig /path/to/config_file.py [ /path/to/other_config_file.py ] | |
# | |
# e.g. to see all config for a given profile, you can do: | |
# | |
# showipconfig `ipython locate profile name`/*config.py |