aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-07-02 22:14:58 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-07-02 22:14:58 +0300
commit7ce9d50a43ba0c91c30472247bec5389a562b649 (patch)
treefc5f1d6b1808b43bb2119b29a06bac8ad55a7bb3
parentSublime Text 3: spaces to tabs (diff)
downloadlinux-home-7ce9d50a43ba0c91c30472247bec5389a562b649.tar.gz
linux-home-7ce9d50a43ba0c91c30472247bec5389a562b649.zip
add .pythonrc
Diffstat (limited to '')
-rw-r--r--.bashrc2
-rw-r--r--.pythonrc2
2 files changed, 4 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index fab70be..4d43a21 100644
--- a/.bashrc
+++ b/.bashrc
@@ -360,3 +360,5 @@ runcpp() (
g++ -std=c++14 -Wall -Wextra "${src_files[@]}" && ./a.exe
popd > /dev/null && rm -rf "$build_dir"
)
+
+export PYTHONSTARTUP=~/.pythonrc
diff --git a/.pythonrc b/.pythonrc
new file mode 100644
index 0000000..23b7e11
--- /dev/null
+++ b/.pythonrc
@@ -0,0 +1,2 @@
+import readline, rlcompleter
+readline.parse_and_bind("tab:complete")