diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-12-06 15:37:17 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-12-06 15:37:21 +0100 |
commit | f20d55ea500a1313c952899c7816ec7a1de83b50 (patch) | |
tree | 78723577ccd6679c58d7e288a5019919250f2b06 | |
parent | e46c724442949758b9e0a65293a1ac81cc22e059 (diff) |
pkg: Simplified expansion in debug alias
-rwxr-xr-x | bin/pkg | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ function debug { # I need function name and line number of the function _calling_ debug, # so I can't get them from inside the debug function. -alias debug='debug ${(%)$(echo %N)} ${(%)$(echo %i)}' +alias debug='debug ${(%):-%N} ${(%):-%i}' function info { (( SILENT )) || echo -ne "${info}$*${reset}" |