]> git.armaanb.net Git - config.org.git/commitdiff
ipython: remove unused math profile
authorArmaan Bhojwani <me@armaanb.net>
Mon, 17 May 2021 02:54:49 +0000 (22:54 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Mon, 17 May 2021 02:54:49 +0000 (22:54 -0400)
config.org

index d9a2abf0f858715ada6200401fa6d89f9161d13f..7a4223cc98ff2661cad63ccca362cd5eccafc9ba 100644 (file)
@@ -992,35 +992,11 @@ No more clogging up init.el.
   alias bc='bc -l'
 #+end_src
 ** IPython
-*** General
-Symlink profile_default/ipython_config.py to profile_math/ipython_config.py
 #+begin_src python :tangle ~/.ipython/profile_default/ipython_config.py
   c.TerminalInteractiveShell.editing_mode = 'vi'
   c.InteractiveShell.colors = 'linux'
   c.TerminalInteractiveShell.confirm_exit = False
 #+end_src
-*** Math
-#+begin_src python :tangle ~/.ipython/profile_math/startup.py
-  from math import *
-
-  def deg(x):
-      return x * (180 /  pi)
-
-  def rad(x):
-      return x * (pi / 180)
-
-  def rad(x, unit):
-      return (x * (pi / 180)) / unit
-
-  def csc(x):
-      return 1 / sin(x)
-
-  def sec(x):
-      return 1 / cos(x)
-
-  def cot(x):
-      return 1 / tan(x)
-#+end_src
 ** MPV
 Make MPV play a little bit smoother.
 #+begin_src conf :tangle ~/.config/mpv/mpv.conf