From d01f85d824ecb27716f570878c187fcc44f54ef4 Mon Sep 17 00:00:00 2001 From: JaeYoo-Im Date: Fri, 25 Mar 2022 16:33:32 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=A7=20Python=20:=20preload=20scripts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .zshrc | 1 + scripts/my_imports.py | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 scripts/my_imports.py diff --git a/.zshrc b/.zshrc index 6143fe8..ade0e9f 100644 --- a/.zshrc +++ b/.zshrc @@ -37,3 +37,4 @@ cat ~/.cache/wal/sequences & export DISPLAY=192.168.144.1:10.0 export EDITOR=nvim +export PYTHONSTARTUP=~/scripts/my_imports.py diff --git a/scripts/my_imports.py b/scripts/my_imports.py new file mode 100644 index 0000000..7764a91 --- /dev/null +++ b/scripts/my_imports.py @@ -0,0 +1,2 @@ +from math import * +import numpy as np