parent
c6aa3e1bce
commit
129ab023f3
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "src/.local/bin/calcpy"]
|
||||
path = src/.local/bin/calcpy
|
||||
url = https://github.com/idanpa/calcpy
|
3
programs
3
programs
@ -56,6 +56,9 @@ python-lsp-server
|
||||
python-lsp-black
|
||||
typescript
|
||||
typescript-language-server
|
||||
# .local/bin/calcpy/ script
|
||||
ipython
|
||||
python-sympy
|
||||
|
||||
#
|
||||
# for new systems
|
||||
|
@ -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
|
||||
|
4
src/.config/ipython/profile_calcpy/ipython_config.py
Normal file
4
src/.config/ipython/profile_calcpy/ipython_config.py
Normal file
@ -0,0 +1,4 @@
|
||||
c = get_config()
|
||||
|
||||
c.TerminalInteractiveShell.editing_mode = "vi"
|
||||
c.TerminalInteractiveShell.show_rewritten_input = False
|
11
src/.config/ipython/profile_calcpy/startup/README
Normal file
11
src/.config/ipython/profile_calcpy/startup/README
Normal 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
|
4
src/.config/ipython/profile_calcpy/startup/startup.ipy
Normal file
4
src/.config/ipython/profile_calcpy/startup/startup.ipy
Normal file
@ -0,0 +1,4 @@
|
||||
# vim: ft=python
|
||||
|
||||
# don't need parentheses on some function calls
|
||||
%autocall 2
|
1
src/.local/bin/calcpy
Submodule
1
src/.local/bin/calcpy
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 502e4d3c811325343c2f71406edae75a4201b30c
|
Loading…
Reference in New Issue
Block a user