Compare commits

...

2 Commits

Author SHA1 Message Date
0e1ecfedaa Add grepgit 2025-05-30 11:34:25 -04:00
e483adfba0 Update e for newer Ruby 2025-05-30 11:34:15 -04:00
2 changed files with 2 additions and 1 deletions

1
bash_aliases.d/grepgit Normal file
View File

@ -0,0 +1 @@
alias grepgit='git ls-files -z | xargs -0 grep --color=auto -H'

2
e
View File

@ -8,7 +8,7 @@ def get_server_name(path)
path = File.expand_path(path)
while path != "/"
dirname = File.dirname(path)
if File.exists?(File.join(dirname, "project.vim"))
if File.exist?(File.join(dirname, "project.vim"))
if dirname =~ %r{([^/]+)/([^/]+)/*$}
sn = "#{$2}(#{$1})"
else