dots: public mirror (history reset after licence cleanup)

This commit is contained in:
Coja committed 2026-11-09 18:19:14 +01:00
commit 693822ad5f
226 files changed
+22502

No files matched your search

@@ -0,0 +1,17 @@
function bind_M_n_history
for i in (seq 9)
set -l command
if test (count $history) -ge $i
set command "commandline -r \$history[$i]"
else
set command "echo \"No history found for number $i\""
end
if contains fish_vi_key_bindings $fish_key_bindings
bind -M default \e$i "$command"
bind -M insert \e$i "$command"
else
bind \e$i "$command"
end
end
end