This website works better with JavaScript.
Home
Explore
Help
Sign In
10sr
/
dotfiles-mirror
mirror of
https://github.com/10sr/dotfiles.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
0
Wiki
Activity
Browse Source
fix small bug
pull/1/head
10sr
12 years ago
parent
5637a3c497
commit
20d66f465e
1 changed files
with
2 additions
and
2 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
bashrc
+ 2
- 2
bashrc
View File
@@ -218,9 +218,9 @@ cd(){
pushd ~/ >/dev/null
pushd ~/ >/dev/null
elif ! test -d "$1"
elif ! test -d "$1"
then
then
echo `basename ${SHELL}`: cd: "$1": No such file or directory
2>&1
echo `basename ${SHELL}`: cd: "$1": No such file or directory
1>&2
return 1
return 1
elif test $1 = -
elif test
"
$1
"
= -
then
then
local pwd="$PWD"
local pwd="$PWD"
popd >/dev/null
popd >/dev/null
Write
Preview
Loading…
Cancel
Save