Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ead4a9c

Browse files
author
anki-code
committed
0.6.8
1 parent 7b6dfb3 commit ead4a9c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎xxh_xxh/xxh.xsh‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ for local_package_dir in [local_shell_dir]+sorted(local_plugins_dir.glob(f'*-xon
3535

3636
env_args += ['+heb', b64e(bash_exec)]
3737

38-
if p'xxh'.exists():
39-
xxh='./xxh'
40-
else:
38+
cdir = pf'{__file__}'.absolute().parent
39+
xxh = cdir/'xxh'
40+
if not xxh.exists():
4141
xxh='xxh'
4242

4343
@(xxh) @($ARGS) +s xonsh @(env_args)

0 commit comments

Comments
 (0)