mirror of
https://github.com/nmasur/dotfiles
synced 2026-10-29 10:45:02 +00:00
fix git blame when there are spaces in the file name
This commit is contained in:
1 parent
f9bf763f91
commit
518848181a
1 file changed
+1
-1
@@ -174,7 +174,7 @@ in
|
||||
];
|
||||
|
||||
# Commandline git blame
|
||||
space.B = ":echo %sh{git log -n1 --date=short --pretty=format:'%%h %%ad %%s' $(git blame -L %{cursor_line},+1 %{buffer_name} | cut -d' ' -f1)}";
|
||||
space.B = ":echo %sh{git log -n1 --date=short --pretty=format:'%%h %%ad %%s' $(git blame -L %{cursor_line},+1 \"%{buffer_name}\" | cut -d' ' -f1)}";
|
||||
|
||||
# Open yazi
|
||||
# https://github.com/sxyazi/yazi/pull/2461
|
||||
|
||||
Reference in new issue
Block a user