Permalink
Browse files

zaw-launcher.zsh: it's not a function

  • Loading branch information...
nakamuray committed Aug 11, 2011
1 parent 1ca1e74 commit 4a8f213acebf887cf4d5da369485f3d9e575618e
Showing with 1 addition and 2 deletions.
  1. +1 −2 zaw-launcher.zsh
View
@@ -5,8 +5,7 @@
# launcher script to start zaw as command
# source zaw.zsh
-zmodload zsh/parameter
-local this_file="${funcsourcetrace[1]%:*}"
+local this_file="$0"
local cur_dir="${this_file:A:h}"
source "${cur_dir}/zaw.zsh"

0 comments on commit 4a8f213

Please sign in to comment.