]> git.phdru.name Git - dotfiles.git/commit
.shellrc: Improve `cdremote`
authorOleg Broytman <phd@phdru.name>
Mon, 5 Aug 2019 14:47:50 +0000 (17:47 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 5 Aug 2019 14:47:50 +0000 (17:47 +0300)
commit23883102f04772136742d2280a8bde5fe1fb8eba
tree40767dfafca8c254a36659b39c1600e04b84d89c
parent1ad3fe5ba3518151d06bef92b689213c8ca3a806
.shellrc: Improve `cdremote`

If the remote URL for the current branch is not a filesystem path
try to find any remote with path as the URL;
if one is found `cd` to the path, else report error.
.shellrc