mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 23:55:37 +00:00
remove backslash quotes
This commit is contained in:
parent
0a7b65c51f
commit
ff31159cc6
@ -3,7 +3,7 @@
|
|||||||
gcb() {
|
gcb() {
|
||||||
result=$(git branch -a --color=always | grep -v '/HEAD\s' | sort |
|
result=$(git branch -a --color=always | grep -v '/HEAD\s' | sort |
|
||||||
fzf --height 50% --border --ansi --tac --preview-window right:70% \
|
fzf --height 50% --border --ansi --tac --preview-window right:70% \
|
||||||
--preview 'git log --oneline --graph --date=short --pretty="format:%C(auto)%cd %h%d %s" $(sed s/^..// <<< {} | cut -d" " -f1) | head -'$LINES |
|
--preview 'git log --oneline --graph --date=short --pretty=\"format:%C(auto)%cd %h%d %s\" $(sed s/^..// <<< {} | cut -d\" \" -f1) | head -'$LINES |
|
||||||
sed 's/^..//' | cut -d' ' -f1)
|
sed 's/^..//' | cut -d' ' -f1)
|
||||||
|
|
||||||
if [[ $result != "" ]]; then
|
if [[ $result != "" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user