mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
media-sound/nulloy: drop EGIT_CLONE_TYPE="shallow" because it implicit
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
@@ -12,13 +12,13 @@ index 73a6e8c..e23082a 100755
|
||||
#!/usr/bin/env bash
|
||||
|
||||
-declare preview='bat --color=always --style=header,numbers -H {2} {1} | grep -C3 {q}'
|
||||
+declare preview='bat --color=always --style=header,numbers -H {2} {1} | grep --context 20 {q}'
|
||||
+declare preview='bat --color=always --style=header,numbers -H {2} {1} | grep --context 999 {q}'
|
||||
|
||||
while getopts ':l' x; do
|
||||
case "$x" in
|
||||
l) list_files=1
|
||||
- preview='bat --color=always --style=header,numbers {1} | grep -C3 {q}'
|
||||
+ preview='bat --color=always --style=header,numbers {1} | grep --context 20 {q}'
|
||||
+ preview='bat --color=always --style=header,numbers {1} | grep --context 999 {q}'
|
||||
;;
|
||||
esac
|
||||
done
|
||||
@@ -29,6 +29,7 @@ index 73a6e8c..e23082a 100755
|
||||
---bind='enter:execute:v {1}' \
|
||||
---preview="[[ -n {1} ]] && $preview"
|
||||
+--bind='enter:execute:echo "$EDITOR {1}:{2}" && $EDITOR {1}:{2}' \
|
||||
+--preview="[[ -n {1} ]] && $preview"
|
||||
+--preview="[[ -n {1} ]] && $preview" \
|
||||
+--preview-window="/2"
|
||||
+
|
||||
+ # echo to save in shell history
|
||||
|
||||
Reference in New Issue
Block a user