1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-26 09:14:06 +08:00
This commit is contained in:
shaoying 2018-08-02 21:45:52 +08:00
parent 8059414c74
commit 9f78a9903c
3 changed files with 5 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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)