This website works better with JavaScript.
Home
Explore
Help
Sign In
mitchty
/
dotfiles
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
For try_git print out the directory cd'd to similar to cd -
master
Mitch Tishmack
6 years ago
parent
0b6a04b7df
commit
0b0308cb64
1 changed files
with
4 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-1
dotprofile.org
+ 4
- 1
dotprofile.org
View File
@@ -260,7 +260,10 @@ try_git()
fi
fi
else
[ -d "${repo}" ] && cd "${repo}"
if [ -d "${repo}" ]; then
echo "${repo}" | sed -e "s|$HOME|~|"
cd "${repo}"
fi
fi
}
Write
Preview
Loading…
Cancel
Save