]> git.phdru.name Git - dotfiles.git/commitdiff
.shellrc: Add comment
authorOleg Broytman <phd@phdru.name>
Tue, 5 Nov 2019 01:41:50 +0000 (04:41 +0300)
committerOleg Broytman <phd@phdru.name>
Tue, 5 Nov 2019 01:41:50 +0000 (04:41 +0300)
.shellrc

index a78a8e1efabecf156f72581d30dbfc8105d18143..16102b4a447be53bb3dd29196dc89270a6fe5f75 100644 (file)
--- a/.shellrc
+++ b/.shellrc
@@ -221,7 +221,7 @@ if test -x /usr/bin/git >/dev/null 2>&1; then
       fi
 
       if [ -n "$remote" ] && git config --get remote.$remote.url |
-            grep -q '^\(file:/\|/\|\.\./\)'; then
+            grep -q '^\(file:/\|/\|\.\./\)'; then # (file:/ or / or ../ at the beginning)
          cdgitpath remote.$remote.url
       else