mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 09:14:06 +08:00
add some
This commit is contained in:
parent
8059414c74
commit
9f78a9903c
@ -1,7 +1,8 @@
|
||||
~shell1
|
||||
login root root
|
||||
source etc/local.shy
|
||||
|
||||
~file1
|
||||
history load etc/history.txt
|
||||
|
||||
~shell1
|
||||
alias import nfs
|
||||
alias send pwd
|
||||
|
@ -2453,7 +2453,7 @@ var Index = &Context{Name: "ctx", Help: "模块中心",
|
||||
list := []string{}
|
||||
j := 0
|
||||
for i := 1; i < len(arg); i++ {
|
||||
if arg[i] == "_" && j < len(args) {
|
||||
if arg[i] == "_" && m.Assert(j < len(args)) {
|
||||
list = append(list, args[j])
|
||||
j++
|
||||
continue
|
||||
|
@ -493,6 +493,7 @@ func (nfs *NFS) Read(p []byte) (n int, err error) { // {{{
|
||||
}
|
||||
|
||||
case termbox.KeyCtrlI:
|
||||
break
|
||||
if len(tab) == 0 {
|
||||
tabi = 0
|
||||
prefix := string(buf)
|
||||
|
Loading…
x
Reference in New Issue
Block a user