calcpy: added

also see: https://github.com/idanpa/calcpy/issues/2
This commit is contained in:
dogeystamp 2023-06-15 10:21:34 -04:00
parent c6aa3e1bce
commit 129ab023f3
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38
7 changed files with 29 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "src/.local/bin/calcpy"]
path = src/.local/bin/calcpy
url = https://github.com/idanpa/calcpy

View File

@ -56,6 +56,9 @@ python-lsp-server
python-lsp-black
typescript
typescript-language-server
# .local/bin/calcpy/ script
ipython
python-sympy
#
# for new systems

View File

@ -33,6 +33,9 @@ function bk; $EDITOR ~/dox/not/bk.txt; end
function rem; $EDITOR ~/dox/not/rem; end
function ldg; $EDITOR ~/dox/not/journal.ldg; end
# pocket calculator
function calcpy; python3 ~/.local/bin/calcpy/calcpy_cli.py; end
# music recognition
function musrec
# if file exists

View File

@ -0,0 +1,4 @@
c = get_config()
c.TerminalInteractiveShell.editing_mode = "vi"
c.TerminalInteractiveShell.show_rewritten_input = False

View File

@ -0,0 +1,11 @@
This is the IPython startup directory
.py and .ipy files in this directory will be run *prior* to any code or files specified
via the exec_lines or exec_files configurables whenever you load this profile.
Files will be run in lexicographical order, so you can control the execution order of files
with a prefix, e.g.::
00-first.py
50-middle.py
99-last.ipy

View File

@ -0,0 +1,4 @@
# vim: ft=python
# don't need parentheses on some function calls
%autocall 2

1
src/.local/bin/calcpy Submodule

@ -0,0 +1 @@
Subproject commit 502e4d3c811325343c2f71406edae75a4201b30c