mirror of
https://github.com/Erreur32/cheat.git
synced 2025-01-03 11:32:17 +01:00
Merge pull request #314 from shanahanjrs/pushd-popd
Added cheatsheets for pushd and popd commands
This commit is contained in:
commit
84e42e7f2f
2 changed files with 7 additions and 0 deletions
2
cheat/cheatsheets/popd
Normal file
2
cheat/cheatsheets/popd
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# Returns to the directory at the top of the `pushd' stack
|
||||||
|
popd
|
5
cheat/cheatsheets/pushd
Normal file
5
cheat/cheatsheets/pushd
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# Pushes your current directory to the top of a stack while changing to the specified directory
|
||||||
|
pushd <directory>
|
||||||
|
|
||||||
|
# To return use popd
|
||||||
|
popd
|
Loading…
Reference in a new issue