forked from cdsgit/cdsgit
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathload_cdsgit.il
85 lines (53 loc) · 2.18 KB
/
load_cdsgit.il
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
83
84
/*
Main CdsGit file.
Load this file in your .cdsinit
*/
;###ENV INITIALIZATION#######
;###### SKILL PATH ######
cdsgit_path = getShellEnvVar("CDSGIT_PATH")
printf("********************************************************\n")
printf(strcat("CdsGit - Loading SKILL\n"))
printf("********************************************************\n")
;### DEBUG ONLY ##########
hiSetBindKey("Command Interpreter" "<Key>F11" "load(\".cdsinit\")")
;###### BINARY PATHS ######
loadi(strcat(cdsgit_path "/load_paths.il"))
;### SCRIPT INITIALIZATION ##########
cdsGitAppName = "CdsGit"
cdsgit_userenvpath = "~/.cdsgitenv"
CGcoolPath = "~/.cdsgitLicense"
load(strcat(cdsgit_path "/scripts/commands/CGsysCmd.il"))
load(strcat(cdsgit_path "/scripts/commands/CGcool.il"))
;############# Unlicensed Commands #############
load(strcat(cdsgit_path "/forms/CGregister.il"))
load(strcat(cdsgit_path "/menus/ciw.menu"))
;############# CdsGit Shell #############
cdsgit_gs_path = strcat(cdsgit_path "/cdsgit-shell")
loadi(strcat(cdsgit_path "/cdsgit-shell/load.il"))
;############# CdsGit Env #############
cdsgit_ge_path = strcat(cdsgit_path "/cdsgit-env")
loadi(strcat(cdsgit_ge_path "/load.il"))
;############# Scripts #############
loadi(strcat(cdsgit_path "/scripts/load.il"))
;############# Form #############
loadi(strcat(cdsgit_path "/cdsgit-forms/load.il"))
loadi(strcat(cdsgit_path "/forms/load.il"))
;############# Merge #############
loadi(strcat(cdsgit_path "/cdsgit-merge/load.il"))
;############# Triggers #############
loadi(strcat(cdsgit_path "/triggers/load.il"))
/* TODO add in other stuff
;############# Custom DRF loading #############
loadi(strcat(cdsgit_path "/load_drf.il"))
;############# Bindkeys #############
loadi(strcat(cdsgit_path "/load_bindkeys.il"))
;############# Triggers #############
loadi(strcat(cdsgit_path "/load_triggers.il"))
;############# Cadence Env Variables #############
loadi(strcat(cdsgit_path "/load_env.il"))
*/
;############# Menus #############
loadi(strcat(cdsgit_path "/menus/load.il"))
printf("********************************************************\n")
printf(strcat("CdsGit - Done Loading SKILL\n"))
printf("********************************************************\n")