limit?
This commit is contained in:
parent
96a60c8ac4
commit
e1a5fdfbb4
1 changed files with 5 additions and 3 deletions
|
@ -1,7 +1,9 @@
|
|||
CAT = bat -pp
|
||||
PASTE = xclip -o
|
||||
CAT = bat -pp
|
||||
|
||||
|
||||
ENTRY = test
|
||||
LIMIT = 5
|
||||
|
||||
|
||||
all: main
|
||||
|
@ -12,11 +14,11 @@ clear:
|
|||
clear
|
||||
|
||||
pastefile:
|
||||
xclip -o > $(ENTRY).ept
|
||||
$(PASTE) > $(ENTRY).ept
|
||||
|
||||
eval:
|
||||
# todo: don't crash on ^Z
|
||||
hept -ts p $(ENTRY).ept
|
||||
hept -ts p -m $(LIMIT) $(ENTRY).ept
|
||||
|
||||
print:
|
||||
heptc -i -target c $(ENTRY).ept
|
||||
|
|
Loading…
Reference in a new issue