Skip to content

Commit 50d3630

Browse files
replace source paths with 'dirname /usr/bin/zsh'
1 parent d90bcf8 commit 50d3630

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

src/operations/checkout

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
source ~/.oh-my-zsh/custom/plugins/zsh-git-fzf/src/operations/branch
3+
source "$(dirname "$0")/../../src/operations/branch"
44

55
_checkout() {
66
local branch=$(_branch)

src/operations/worktree

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

3-
source ~/.oh-my-zsh/custom/plugins/zsh-git-fzf/src/helpers
4-
source ~/.oh-my-zsh/custom/plugins/zsh-git-fzf/src/completions
3+
source "$(dirname "$0")/../../src/helpers"
4+
source "$(dirname "$0")/../../src/completions"
55

66
local FZF_OPTIONS="--no-preview"
77

zsh-git-fzf.plugin.zsh

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ source "$(dirname "$0")/src/operations/diff"
88
source "$(dirname "$0")/src/operations/log"
99
source "$(dirname "$0")/src/operations/stash"
1010
source "$(dirname "$0")/src/operations/reflog"
11+
source "$(dirname "$0")/src/helpers"
1112

1213
_help() {
1314
local PREFIX="git-fzf"

0 commit comments

Comments
 (0)