File: task.exp

package info (click to toggle)
snapd 2.71-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 79,536 kB
  • sloc: ansic: 16,114; sh: 16,105; python: 9,941; makefile: 1,890; exp: 190; awk: 40; xml: 22
file content (21 lines) | stat: -rw-r--r-- 745 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
source "$::env(SPREAD_PATH)/$::env(SPREAD_SUITE)/lib.exp0"
send "source $::env(SPREAD_PATH)/$::env(SPREAD_SUITE)/$::env(SPREAD_VARIANT).sh\n"
next
send "source /usr/share/bash-completion/bash_completion\n"
next
if {$::env(_COMPLETE_SH)} {
    # because this sources complete.sh, it won't be using the snippets
    send "source $::env(SPREAD_PATH)/data/completion/bash/complete.sh\n"
    next
}
chat "$::env(CMD) \t\t" $::env(_OUT0)
cancel
# completion when the cursor is not at the end of the line:
set back1 [string repeat "\b" [string length $::env(_KEY1)]]
chat "$::env(CMD) $::env(_KEY1)$back1\t\t" $::env(_OUT0)
cancel
chat "$::env(CMD) $::env(_KEY1)\t" $::env(_OUT1)
cancel
chat "$::env(CMD) $::env(_KEY2)\t\t" $::env(_OUT2)
cancel
brexit