diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-09-21 21:14:59 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-09-21 21:14:59 -0700 |
| commit | 149056033a6dc5deb0adc42f591517dcbe2d8a47 (patch) | |
| tree | a4556a097ef3952542f41065931741bb8f468ad0 /Makefile | |
| parent | ca626182c1ba6573a81f55f5257fea9cb6800fb8 (diff) | |
Added support for default shell other than sh (e.g. dash, in case sh
links to bash)
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -13,6 +13,10 @@ ifeq ($(shell uname),Darwin) -Wno-missing-noreturn -Wno-cast-qual endif +ifneq (, $(SH)) + CFLAGS += -D'SH="$(SH)"' +endif + PICKER_FLAG= ifeq (, $(PICKER)) PICKER=$(shell sh -c "(which fzy >/dev/null 2>/dev/null && echo 'fzy') || (which fzf >/dev/null 2>/dev/null && echo 'fzf') || (which pick >/dev/null 2>/dev/null && echo 'pick') || (which ask >/dev/null 2>/dev/null && echo 'ask')") |
