mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 21:33:09 +00:00
Webconfig: Sort the prompt list
Otherwise this has filesystem order, which on my system is quite chaotic. An alternative would be to randomize the order so people see different prompts each time.
This commit is contained in:
parent
f2364103b4
commit
152b0ef018
1 changed files with 1 additions and 1 deletions
|
@ -1203,7 +1203,7 @@ class FishConfigHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
|
|||
return None
|
||||
|
||||
def do_get_sample_prompts_list(self):
|
||||
paths = glob.iglob("sample_prompts/*.fish")
|
||||
paths = sorted(glob.iglob("sample_prompts/*.fish"))
|
||||
result = []
|
||||
try:
|
||||
pool = multiprocessing.pool.ThreadPool(processes=8)
|
||||
|
|
Loading…
Reference in a new issue