Permalink
Browse files

simplify relative file path calculation using ZSH

  • Loading branch information...
1 parent acd181e commit 9d3683b3d3fb58178f829ea234195d4311082738 @sorin-ionescu sorin-ionescu committed with sunaku Aug 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 9d3683b

Please sign in to comment.