mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-29 10:19:21 +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
|
source etc/local.shy
|
||||||
|
|
||||||
~file1
|
~file1
|
||||||
history load etc/history.txt
|
history load etc/history.txt
|
||||||
|
|
||||||
~shell1
|
~shell1
|
||||||
alias import nfs
|
alias import nfs
|
||||||
|
alias send pwd
|
||||||
|
@ -2453,7 +2453,7 @@ var Index = &Context{Name: "ctx", Help: "模块中心",
|
|||||||
list := []string{}
|
list := []string{}
|
||||||
j := 0
|
j := 0
|
||||||
for i := 1; i < len(arg); i++ {
|
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])
|
list = append(list, args[j])
|
||||||
j++
|
j++
|
||||||
continue
|
continue
|
||||||
|
@ -493,6 +493,7 @@ func (nfs *NFS) Read(p []byte) (n int, err error) { // {{{
|
|||||||
}
|
}
|
||||||
|
|
||||||
case termbox.KeyCtrlI:
|
case termbox.KeyCtrlI:
|
||||||
|
break
|
||||||
if len(tab) == 0 {
|
if len(tab) == 0 {
|
||||||
tabi = 0
|
tabi = 0
|
||||||
prefix := string(buf)
|
prefix := string(buf)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user