- Dec
- 238
- 2
This falls into the realm of complete frivolity, but oh well. : ) For whatever reason -- the origin of this neurosis is lost in the mists of time -- I like to change directories and stay on the starting screen line. So after puzzling over how to do it for quite a while -- an alias, which I call "SameLine":
Then for switching to C:\batch, for example, another alias ("b"):
Does what I want unless the cursor is on the last screen line when the command is given.
I'm sure that a few years of therapy would cure me of this same-line-on-screen obsession, but once again: oh well.
: )
pushd %1 %+ screen -1 0 %+ drawhline %_row 0 80 0 %_bg on %_bg %+ screen -1 0
Then for switching to C:\batch, for example, another alias ("b"):
b=SameLine c:\batch
Does what I want unless the cursor is on the last screen line when the command is given.
I'm sure that a few years of therapy would cure me of this same-line-on-screen obsession, but once again: oh well.
: )