diff options
Diffstat (limited to 'lcd.sh')
| -rw-r--r-- | lcd.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -0,0 +1,8 @@ +cd() { + builtin cd "$@" + pwd > ~/.lcd.dir +} + +lcd() { + [ -e ~/.lcd.dir ] && cd "$( cat ~/.lcd.dir )" +} |
![]() |
index : misc-scripts | |
| Stuff from ~/bin | urchlay -at- slackware _dot_ uk |
| aboutsummaryrefslogtreecommitdiff |