mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-19 11:31:26 +01:00
unposted: calendar_show: error in subscripts
This commit is contained in:
parent
d931eed826
commit
437f67718c
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-08-23 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* unposted: Functions/Calendar/calendar_show: used subscript
|
||||
0 instead of 1, hence broken since 23562.
|
||||
|
||||
2007-08-22 Peter Stephenson <pws@csr.com>
|
||||
|
||||
* 23794: Src/Zle/compresult.c: completing on 'echo "foo$"<TAB>'
|
||||
|
|
|
@ -16,8 +16,8 @@ if [[ -n $DISPLAY && $start -eq $stop ]]; then
|
|||
if [[ -n ${commands[xmessage]} ]]; then
|
||||
cmd=(xmessage -center)
|
||||
fi
|
||||
if [[ -n $cmd[0] ]] &&
|
||||
! ps -u$UID | grep $cmd[0] >/dev/null 2>&1; then
|
||||
if [[ -n $cmd[1] ]] &&
|
||||
! ps -u$UID | grep $cmd[1] >/dev/null 2>&1; then
|
||||
# turn off job control for this
|
||||
($cmd "$*" &)
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue