aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-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")