Skip to content
Snippets Groups Projects
Commit 82cdd647 authored by Gerhard Gonter's avatar Gerhard Gonter :speech_balloon:
Browse files

added config for interactiv python

parent 1fb78486
Branches
Tags
No related merge requests found
...@@ -13,6 +13,8 @@ setenv EDITOR `which vi` ...@@ -13,6 +13,8 @@ setenv EDITOR `which vi`
setenv LC_ALL en_US.UTF-8 setenv LC_ALL en_US.UTF-8
setenv LESSCHARSET utf-8 setenv LESSCHARSET utf-8
setenv PYTHONSTARTUP ~/.pythonrc
if (-x ~/.login.local) then if (-x ~/.login.local) then
source ~/.login.local source ~/.login.local
endif endif
......
# ~/.pythonrc
# enable syntax completion
try:
import readline
except ImportError:
print("Module readline not available.")
else:
import rlcompleter
readline.parse_and_bind("tab: complete")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment