Skip to content

Commit

Permalink
plugin absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
joknarf committed Oct 19, 2024
1 parent d8f7768 commit 9635986
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pgtree.plugin.bash
Original file line number Diff line number Diff line change
@@ -1 +1 @@
alias pgtree="${BASH_SOURCE%.plugin.bash}/pgtree"
alias pgtree="$(cd "${BASH_SOURCE%/*}";pwd)/pgtree/pgtree"
2 changes: 1 addition & 1 deletion pgtree.plugin.zsh
Original file line number Diff line number Diff line change
@@ -1 +1 @@
alias pgtree="${0%.plugin.zsh}/pgtree"
alias pgtree="$(cd "${0%/*}";pwd)/pgtree"

0 comments on commit 9635986

Please sign in to comment.