File: task.exp

package info (click to toggle)
snapd 2.72-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 80,412 kB
  • sloc: sh: 16,506; ansic: 16,211; python: 11,213; makefile: 1,919; exp: 190; awk: 58; xml: 22
file content (21 lines) | stat: -rw-r--r-- 745 bytes parent folder | download | duplicates (4)
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