File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,6 +141,11 @@ def Bootloader():
141141 cman = open (echo ,"r" )
142142 print (cman .read ())
143143 cman .close
144+ elif command == "history" :
145+ placement = 0
146+ for i in history :
147+ placement += 1
148+ print (str (placement ) + ". " + i )
144149 elif command == "rc" :
145150 comlistdir = ""
146151 echo = input ("Insert Path: " )
Original file line number Diff line number Diff line change 1212cmancode = subprocess .Popen (["python" , str (locationdir ) + "/bin/functions/registry/r~1.py" ])
1313subprogram = False
1414booted = False
15+ history = []
1516# Colors
1617class bcolors :
1718 HEADER = '\033 [95m'
@@ -110,6 +111,7 @@ def Bootloader():
110111 locationdir = os .getcwd ()
111112 comlistdir = locationdir + " "
112113 locationstr = os .listdir (os .path .dirname (os .path .realpath (__file__ )))
114+ history .append ("\" " + command + "\" " )
113115 if command == "registry" :
114116 #Registry
115117 subprocess .Popen (["python" , str (locationdir ) + "/bin/functions/registry/r~2.py" ])
@@ -144,6 +146,11 @@ def Bootloader():
144146 cman = open (echo ,"r" )
145147 print (cman .read ())
146148 cman .close
149+ elif command == "history" :
150+ placement = 0
151+ for i in history :
152+ placement += 1
153+ print (str (placement ) + ". " + i )
147154 elif command == "rc" :
148155 comlistdir = ""
149156 echo = input ("Insert Path: " )
You can’t perform that action at this time.
0 commit comments