public
Description: Debugger for zsh (at least 4.3.6-dev-2)
Homepage:
Clone URL: git://github.com/rocky/zshdb.git
rocky (author)
Fri Jul 03 22:57:20 -0700 2009
commit  d3370dfff7846c64685aa948be7662c9ca3093c1
tree    0daa8cce92dcca6e42b66e85602c19c5952699b7
parent  8f7b94496c279d3f07c37f7bbc9d8a335683f893
zshdb / testing.sh
100644 19 lines (18 sloc) 0.233 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# unsetopt ksharrays
typeset -a x
x=(10 20)
echo ${x[1]}
fooffdafsd
y='
abc def'
x=($y) # get different results if unsetopt shwordsplit
( echo another line )
foo() {
  echo calling bar 10
  bar 10
}
bar() {
  x=20
}
foo arg1 $y
x=5