Last active
May 14, 2021 04:14
-
-
Save yangziy/10fdf440c40cd9bd7024a8041fbd5958 to your computer and use it in GitHub Desktop.
Remember last work directry
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.login | |
# ~/.bash_login | |
cd `cat ~/.last_wd` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.logout | |
# ~/.bash_logout | |
pwd > ~/.last_wd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment