From af3e90e8921ee748b5a02c313ecec6e4311c035d Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Sun, 3 Nov 2024 08:26:08 +0100 Subject: [PATCH] etc/profile.d/git.sh --- etc/profile.d/git.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/etc/profile.d/git.sh b/etc/profile.d/git.sh index 3cc94e2a..a5179767 100644 --- a/etc/profile.d/git.sh +++ b/etc/profile.d/git.sh @@ -6,9 +6,13 @@ which git > /dev/null || return 0 alias git_grep="git grep --color=auto" alias git_ls_tree="git ls-tree --full-tree -r HEAD" -alias git_ls_files="git ls-files --full-name" +# NB 03.11.24 alias git_ls_files="git ls-files --full-name" # NB 13.11.23 alias git_root="git rev-parse --show-toplevel" +git_ls_files() { + git ls-files --full-name #| awk '{print "\""$0"\""}' +} + git_root() { git rev-parse --show-toplevel } -- 2.47.3