From 9d3683b3d3fb58178f829ea234195d4311082738 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Sun, 28 Aug 2011 06:12:47 -0700 Subject: [PATCH] simplify relative file path calculation using ZSH https://github.com/robbyrussell/oh-my-zsh/pull/215/files#r104749 --- zsh-history-substring-search.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh-history-substring-search.plugin.zsh b/zsh-history-substring-search.plugin.zsh index 3d74f3e..b393f66 100644 --- a/zsh-history-substring-search.plugin.zsh +++ b/zsh-history-substring-search.plugin.zsh @@ -1,6 +1,6 @@ # This file integrates the zsh-history-substring-search script into oh-my-zsh. -source "$ZSH/plugins/zsh-history-substring-search/zsh-history-substring-search.zsh" +source "${0:r:r}.zsh" if test "$CASE_SENSITIVE" = true; then unset HISTORY_SUBSTRING_SEARCH_GLOBBING_FLAGS