Removing remnants of ASKECHO
This commit is contained in:
parent
f55d4f9c63
commit
c11e4bd4fa
4
Makefile
4
Makefile
@ -43,11 +43,9 @@ CFLAGS += $(PICKER_FLAG)
|
||||
|
||||
ifneq (, $(ASKER))
|
||||
ifeq ($(shell which $(ASKER)),$(shell which ask 2>/dev/null || echo '<none>'))
|
||||
CFLAGS += -D'ASKECHO(prompt, initial)="ask --prompt=\"" prompt "\" --query=\"" initial "\""'
|
||||
CFLAGS += -D'ASK(var, prompt, initial)=var "=\"$$(ask --prompt=\"" prompt "\" --query=\"" initial "\")\""'
|
||||
CFLAGS += -D'ASK(var, prompt, initial)=var "=\"$$(ask --history=bb --prompt=\"" prompt "\" --query=\"" initial "\")\""'
|
||||
endif
|
||||
ifeq ($(shell which $(ASKER)),$(shell which dmenu 2>/dev/null || echo '<none>'))
|
||||
CFLAGS += -D'ASKECHO(prompt, initial)="{ printf \"" initial "\" | dmenu -p \"" prompt "\"; }"'
|
||||
CFLAGS += -D'ASK(var, prompt, initial)=var "=\"$$(printf \"" initial "\" | dmenu -p \"" prompt "\")\""'
|
||||
endif
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user