Skip to content

Commit cfd207a

Browse files
committed
add popd and pushd usage.
1 parent fd91273 commit cfd207a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bashrc/template.sh

+4
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,7 @@ check_user() {
120120
fi
121121
}
122122

123+
pushd . &>/dev/null
124+
cd ../../ && touch test.file;
125+
popd
126+

0 commit comments

Comments
 (0)