mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-19 23:21:15 -03:00
As mentioned in https://github.com/fish-shell/fish-shell/issues/12055#issuecomment-3554869126 > instances of `/bin/sh` as freestanding commands within `.fish` > files are most likely not automatically handled by `termux-exec` and > This topic is complicated by the fact that some Android ROMs _do_ > contain real `/bin/sh` files Core uses /system/bin/sh on Android. Let's do the same from script (even if /bin/sh exists), for consistency.
6 lines
82 B
Fish
6 lines
82 B
Fish
# RUN: %fish %s
|
|
|
|
set -l sh (__fish_posix_shell)
|
|
command -v $sh
|
|
# CHECK: {{.*/sh}}
|