Skip to content

Commit 2d6e811

Browse files
Costa ShulyupinCosta Shulyupin
Costa Shulyupin
authored and
Costa Shulyupin
committed
xdg-open
1 parent 37c65c8 commit 2d6e811

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

git-wizard

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,14 @@ diff_to_quickfix()
258258
#perl -ne '/^\+\+\+ (.+)/ && { $f="$1"};/@@.*\+(\d+)/ &&print "$f:$1:$_\n"'
259259
}
260260

261+
xdg-open()
262+
{
263+
264+
test "$SSH_CLIENT" \
265+
&& ssh ${SSH_CLIENT%% *} xdg-open $PWD/modifications.html \
266+
|| /usr/bin/xdg-open "$@"
267+
}
268+
261269
modified()
262270
{
263271
## checks for modified and staged(cached) files and what to do with them

0 commit comments

Comments
 (0)