Skip to content

Commit 78bfdfb

Browse files
author
Bhavi Dhingra
committed
style(header): remove signs
1 parent c7bac22 commit 78bfdfb

11 files changed

Lines changed: 37 additions & 37 deletions

File tree

util/fzf_headers/__ask_header

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ function __ask_header() {
1212
local escAction="${2}"
1313

1414
local colorMsg="${question}\n"
15-
colorMsg="${colorMsg}${BLUE}<esc>:${RESET} ${escAction}"
15+
colorMsg="${colorMsg}${BLUE}esc:${RESET} ${escAction}"
1616

1717
local msg="${question}"
18-
local msg1="<esc>: ${escAction}"
18+
local msg1="esc: ${escAction}"
1919
[ ${#msg} -lt ${#msg1} ] && msg="${msg1}"
2020

2121
local edge="$(echo "${msg}" | sed "s/./-/g")"

util/fzf_headers/__gdiff_header

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ source "$__CUSTOM_CONSOLE_UTIL"/__common
88

99
function __gdiff_header() {
1010

11-
local msg="gdiff | <enter>: view diff, <?>: toggle preview, <q/esc>: quit"
11+
local msg="gdiff | enter: git diff, ?: toggle preview, q/esc: quit"
1212
local colormsg="${UNDERLINE}${MAGENTA}gdiff${RESET} | \
13-
${BLUE}<enter>: ${RESET}view diff, \
14-
${BLUE}<?>: ${RESET}toggle preview, \
15-
${BLUE}<q/esc>: ${RESET}quit"
13+
${BLUE}enter: ${RESET}git diff, \
14+
${BLUE}?: ${RESET}toggle preview, \
15+
${BLUE}q/esc: ${RESET}quit"
1616

1717
local edge="$(echo "${msg}" | sed -e 's/./-/g')"
1818
local GDIFF_HEADER="${edge}"'

util/fzf_headers/__glog_header

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ source "$__CUSTOM_CONSOLE_UTIL"/__common
88

99
function __glog_header() {
1010

11-
local msg="glog | <enter>: git show, <ctrl-c>: copy commit SHA, <?>: toggle preview, <q/esc>: quit"
11+
local msg="glog | enter: git show, ctrl-c: copy commit SHA, ?: toggle preview, q/esc: quit"
1212
local colormsg="${UNDERLINE}${MAGENTA}glog${RESET} | \
13-
${BLUE}<enter>: ${RESET}git show, \
14-
${BLUE}<ctrl-c>: ${RESET}copy commit SHA, \
15-
${BLUE}<?>: ${RESET}toggle preview, \
16-
${BLUE}<q/esc>: ${RESET}quit"
13+
${BLUE}enter: ${RESET}git show, \
14+
${BLUE}ctrl-c: ${RESET}copy commit SHA, \
15+
${BLUE}?: ${RESET}toggle preview, \
16+
${BLUE}q/esc: ${RESET}quit"
1717

1818
local edge="$(echo "${msg}" | sed -e 's/./-/g')"
1919
local GLOG_HEADER="${edge}"'

util/fzf_headers/__grestore_header

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ source "$__CUSTOM_CONSOLE_UTIL"/__common
88

99
function __grestore_header() {
1010

11-
local msg="grestore | <tab>: select multiple files, <enter>: restore modified file(s) / remove new files, <?>: toggle preview, <q/esc>: quit"
11+
local msg="grestore | enter: restore modified file(s) / remove new file(s), tab: select multiple files, ?: toggle preview, q/esc: quit"
1212
local colormsg="${UNDERLINE}${MAGENTA}grestore${RESET} | \
13-
${BLUE}<tab>: ${RESET}select multiple files, \
14-
${BLUE}<enter>: ${RESET}restore modified file(s) / remove new files, \
15-
${BLUE}<?>: ${RESET}toggle preview, \
16-
${BLUE}<q/esc>: ${RESET}quit"
13+
${BLUE}enter: ${RESET}restore modified file(s) / restore new file(s), \
14+
${BLUE}tab: ${RESET}select multiple files, \
15+
${BLUE}?: ${RESET}toggle preview, \
16+
${BLUE}q/esc: ${RESET}quit"
1717

1818
local edge="$(echo "${msg}" | sed -e 's/./-/g')"
1919
local GRESTORE_HEADER="${edge}"'

util/fzf_headers/__grestorestaged_header

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ source "$__CUSTOM_CONSOLE_UTIL"/__common
88

99
function __grestorestaged_header() {
1010

11-
local msg="grestorestaged | <tab>: select multiple files, <enter>: restore staged file(s), <?>: toggle preview, <q/esc>: quit"
11+
local msg="grestorestaged | enter: restore staged file(s), tab: select multiple files, ?: toggle preview, q/esc: quit"
1212
local colormsg="${UNDERLINE}${MAGENTA}grestorestaged${RESET} | \
13-
${BLUE}<tab>: ${RESET}select multiple files, \
14-
${BLUE}<enter>: ${RESET}restore staged file(s), \
15-
${BLUE}<?>: ${RESET}toggle preview, \
16-
${BLUE}<q/esc>: ${RESET}quit"
13+
${BLUE}enter: ${RESET}restore staged file(s), \
14+
${BLUE}tab: ${RESET}select multiple files, \
15+
${BLUE}?: ${RESET}toggle preview, \
16+
${BLUE}q/esc: ${RESET}quit"
1717

1818
local edge="$(echo "${msg}" | sed -e 's/./-/g')"
1919
local GRESTORESTAGED_HEADER="${edge}"'

util/fzf_headers/__gshow_header

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ source "$__CUSTOM_CONSOLE_UTIL"/__common
88

99
function __gshow_header() {
1010

11-
local msg="gshow | <enter>: git show, <ctrl-c>: copy commit SHA, <?>: toggle preview, <q/esc>: quit"
11+
local msg="gshow | enter: git show, ctrl-c: copy commit SHA, ?: toggle preview, q/esc: quit"
1212
local colormsg="${UNDERLINE}${MAGENTA}gshow${RESET} | \
13-
${BLUE}<enter>: ${RESET}git show, \
14-
${BLUE}<ctrl-c>: ${RESET}copy commit SHA, \
15-
${BLUE}<?>: ${RESET}toggle preview, \
16-
${BLUE}<q/esc>: ${RESET}quit"
13+
${BLUE}enter: ${RESET}git show, \
14+
${BLUE}ctrl-c: ${RESET}copy commit SHA, \
15+
${BLUE}?: ${RESET}toggle preview, \
16+
${BLUE}q/esc: ${RESET}quit"
1717

1818
local edge="$(echo "${msg}" | sed -e 's/./-/g')"
1919
local GSHOW_HEADER="${edge}"'

util/fzf_headers/custom-git-explorer/__noun_header

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ source "$__CUSTOM_CONSOLE_UTIL"/__common
1010
function __noun_header() {
1111

1212
local verb="${1}"
13-
local msg="${verb} | <ctrl-d>: more details, <esc>: back"
14-
local colorMsg="${MAGENTA}${UNDERLINE}${verb}${RESET} | ${BLUE}<ctrl-d>${RESET}: more details, "
15-
colorMsg="${colorMsg}${BLUE}<esc>:${RESET} back"
13+
local msg="${verb} | ctrl-d: more details, esc: back"
14+
local colorMsg="${MAGENTA}${UNDERLINE}${verb}${RESET} | ${BLUE}ctrl-d${RESET}: more details, "
15+
colorMsg="${colorMsg}${BLUE}esc:${RESET} back"
1616

1717
local edge="$(echo "${msg}" | sed "s/./-/g")"
1818
local nounHeader="${edge}\n${colorMsg}\n "

util/fzf_headers/custom-git-explorer/__verb_header

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ source "$__CUSTOM_CONSOLE_UTIL"/__common
88

99
function __verb_header() {
1010

11-
local msg="custom-git-explorer | <esc>: exit"
12-
local colorMsg="${MAGENTA}${UNDERLINE}custom-git-explorer${RESET} | ${BLUE}<esc>:${RESET} exit"
11+
local msg="custom-git-explorer | esc: exit"
12+
local colorMsg="${MAGENTA}${UNDERLINE}custom-git-explorer${RESET} | ${BLUE}esc:${RESET} exit"
1313

1414
local edge="$(echo "${msg}" | sed "s/./-/g")"
1515
local verbHeader="${edge}\n${colorMsg}\n "

util/fzf_headers/gcommit/__description_header

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ source "$__CUSTOM_CONSOLE_UTIL"/__common
99
function __description_header() {
1010

1111
local colorMsg="Write a short summary\n\n"
12-
colorMsg="${colorMsg}${BLUE}<?>:${RESET} toggle hint, ${BLUE}<esc>:${RESET} exit"
12+
colorMsg="${colorMsg}${BLUE}?:${RESET} toggle hint, ${BLUE}esc:${RESET} exit"
1313

1414
local edge="-----------------------------------------------------------------------------------"
1515
local GCOMMIT_DESCRIPTION_HEADER="${edge}\n${colorMsg}\n "

util/fzf_headers/gcommit/__scope_header

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ source "$__CUSTOM_CONSOLE_UTIL"/__common
88

99
function __scope_header() {
1010

11-
local colorMsg="${BLUE}<?>:${RESET} toggle hint, ${BLUE}<esc>:${RESET} skip scope"
11+
local colorMsg="${BLUE}?:${RESET} toggle hint, ${BLUE}esc:${RESET} skip scope"
1212

13-
local msg="<?>: toggle hint, <esc>: skip scope"
13+
local msg="?: toggle hint, esc: skip scope"
1414
local edge="$(echo "${msg}" | sed "s/./-/g")"
1515
local GCOMMIT_SCOPE_HEADER="${edge}\n${colorMsg}\n${edge}\n "
1616

0 commit comments

Comments
 (0)