-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaliases_config.py
More file actions
82 lines (60 loc) · 3.22 KB
/
aliases_config.py
File metadata and controls
82 lines (60 loc) · 3.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
import os
current_dir = os.path.dirname(os.path.abspath(__file__))
easy_modular_scripts_dir = current_dir
aliases = {
# ask-app
"ask": f"python3 {current_dir}/ask-app/ask.py",
"runit": f"bash {current_dir}/ask-app/runit.sh",
# content creation-tools
"mts-zipvids": f"python3 {current_dir}/media-tools/zipmedia.py",
"zipvids": f"mts-zipvids",
"zipmedia": f"mts-zipvids",
"md2doc":f"python3 {current_dir}/media-tools/markdown_from_clipboard_to_docx.py",
"mdtodoc":f"md2doc",
"md2pdf":f"python3 {current_dir}/media-tools/markdown_from_clipboard_to_pdf.py",
# browser based video editor
"videdit":f"python3 {current_dir}/media-tools/videoeditor/main.py",
"streamer-mode":f"python3 {current_dir}/media-tools/streamer_mode.py",
"strmode":"streamer-mode",
# ai tools
"gmfp": f"bash {current_dir}/ai-tools/get_multifile_prompt.sh", # get multifile prompt
"cb": f"python3 {current_dir}/ai-tools/copy_codeblock_n.py", # copy codeblock n - usage: cb 0 or cb -2 or cb (default -1))
"gcb":"cb",
"getcb":"cb",
"mkfiles":f"python3 {current_dir}/ai-tools/make_multifile.py", # takes clipboard and makes the multifile project
"mcoder":f"python3 {current_dir}/ai-tools/multicoder/multicoder.py",
"mc":"mcoder",
# beta version that uses pattern matching diffs instead of full file rewrites
"mcoderb":f"python3 {current_dir}/ai-tools/multicoder-beta/multicoder.py",
"mcb":"mcoderb",
# version that uses git-like diffs instead of pattern matching diffs (significantly reduced cost)
"mcoderd":f"python3 {current_dir}/ai-tools/multicoder-diff/multicoder.py",
"mcd":"mcoderd",
# mcoder beta. uses openrouter
"mcoderor":f"python3 {current_dir}/ai-tools/multicoder-openrouter/multicoder.py",
"mcor":"mcoderor",
# diagrammer app
# makes a diagram of any project, file, etc
# literally, anything, including ppts and stuff
"diagram":f"python3 {current_dir}/ai-tools/diagrammer/diagram_generator.py",
"mkdiag":"diagram",
# productivity stuff
"setdesktop": f"python3 {current_dir}/productivity-tools/setdesktop.py", # changes the desktop folder
"togglesite": f"sudo python3 {current_dir}/productivity-tools/toggle_site_blocking.py", # toggles blocking a site. `togglesite [website]`. has aliases too. `togglesite x` blocks twitter/x.com. see /prod-tools/site_aliases.cfg
"apm" : f"python3 {current_dir}/productivity-tools/apm_tracker.py &", # tracks actions per minute (clicks and key presses) with a little icon in the task bar window
"apm-tracker" : "apm",
# meta stuff
"update-aliases":f"python3 {current_dir}/update-all.py;exec bash",
"emsupdate":f"update-aliases",
# git stuff
"gitclone":f"bash {current_dir}/git/gitclone.sh", # gitclones using ssh an dcurrently logged in user
"gitpushall":f"bash {current_dir}/git/gitpushall.sh", # usage: gitpushall msg -> adds . commits w msg and pushes
"gpa":"gitpushall",
# code tools
"todos":f"py {current_dir}/code-tools/todos.py",
# misc
# returns list of all files as a string (copy-paste into python or js)
"getfilelist":f"python3 {current_dir}/misc-tools/list_files.py"
# Add more aliases as needed
# "alias_name": "command",
}