Short: Allows to type cd.. in Shell Author: Marko K. Seppänen Uploader: anonymous aminet net Type: util/shell Version: 2.2 Replaces: util/shell/CD-dot-dot-v1.1.lha Architecture: generic CD-dot-dot - 2.2 ================ This archive consists of a few scripts which makes it possible to type both "cd.." and "cd .." in the shell to get to the parent drawer. After successfully installing this package all 4 combinations below should be possible: cd.. ; Windows style cd .. ; Linux style cd / ; AmigaOS style / ; AmigaOS "short" style And: cd ../ ; go into the ".." drawer Notes ----- 1. If you have an existing ".." directory that you want to CD into, then you must use "cd ../" in order to traverse into it (since "cd .." will take you to the parent directory). 2. If you are updating CD-dot-dot, please don't forget to uninstall the old version before installing this new update. 3. Minor warning, if you run the Install and Uninstall scipts disorganized, install this version over an old version, or some other error then it may happen that the CD will completely stop working. In that case use WB, Dopus, Filer or some other File Manager to run the script Clean and reboot, this should get CD to its default state. Then try installing again. Installation ------------ 0. If you have previous version of CD-dot-dot already installed, please uninstall that version first before installing this new version. -- 1. Extract the archive (preferably with Unarc) and make sure that all protection bits are preserved. 2. Run the "Install" script. 3. Add the following lines: If Exists S:cd_.. Alias cd S:cd_.. EndIf to your Shell-Startup in the SYS:S drawer. 4. Reboot in order for all changes to take effect. 5. Done. -- 6. If you run into trouble, run the "Clean" script in the archive and reboot. Uninstallation -------------- 1. Run the "Uninstall" (or "Clean" script). 2. If you've added the above (3 lines of code) to your Shell-Startup, remove it. 3. Reboot in order for all changes to take effect. 4. Done. Changes ------- 2.2: - Fixed bug "doesn't work for paths with a space in the name". 2.1: - Changed back the "/" to "cd /" in all scripts, in order to show the more accurate "CD: object not found" message than "/: Unknown command" when trying to go to parent from the top (root) drawer. - Expanded/clarified instructions in readme. 2.0: - Added a *hack* which makes it possible to type "cd .." (including the space). - Complete rewrite of "Install" and "Uninstall" scripts. - Changed "cd /" to just "/" in the cd.. script. - Added a "Clear" script which tries to whipe out all files created by CD-dot-dot. 1.1: - Fixed minor typos in some scripts. 1.0: - Initial release. Author: Marko Seppänen Home Page: http://m4rko.com/amiga