zsh-users
 help / color / mirror / code / Atom feed
From: "Michael Barnes" <mibarnes@vt.edu>
To: zsh-users@sunsite.auc.dk
Subject: Re: howto: no space after completion (this used to work in 3.0.5!!!!)
Date: Sun, 9 May 1999 13:01:57 -0400	[thread overview]
Message-ID: <19990509130157.A1438@vt.edu> (raw)
In-Reply-To: <199905061552.LAA16600@ocalhost>; from Timothy J Luoma on Thu, May 06, 1999 at 11:52:49AM -0400


On Thu, May 06, 1999 at 11:52:49AM -0400, Timothy J Luoma wrote:
> Replying to message of Thu, 6 May 1999 17:17:57 +0200 (MET DST)
> 	from Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
> 	regarding ``Re: howto: no space after completion''
> 	
> > Should there be an option for that? (Meaning: why do you want it?)
> 
> OH YES!  (I just emailed Sven off-list to told him my brain was shorting out  
> and I couldn't remember why I had wanted this!)
> 
> I actually misspoke.  That's not what I want exactly.
> 
> Here's a real-life situation where this comes into place (and what I am used  
> to, using 3.0.5)
> 
> 
> I have a folder /LocalApps
> 
> it has an alias $lapps
> 
> when I do
> 
> # cd $la[tab]

try cd ~la[tab]

I do it all the time for long directories that I access all the time and
it makes the prompt path shorter too:

~ echo $x
/usr/X11R6
~ cd ~x/[tab]
bin/      include/  info/     levels/   lib/      man/      share/
sounds/
~ cd ~x/bin
~x/bin 
^^^^^^
   ^prompt
> 
> I get
> 
> # cd $lapps [cursor here]
> 
> but I actually want
> 
> # cd $lapps/[cursor here]
> 
> so I can use tab-completion to get the listing of all the files inside $lapps
> 
> 
> (	again that WORKS in 3.0.5	)
> 
> 
> So actually I don't want to remove the space, I want the 3.0.5 behavior to  
> be restored.
> 
> Here are my setopts in case it matters
> 
> AUTO_PARAM_SLASH AUTO_RESUME ALWAYS_TO_END APPEND_HISTORY AUTO_CD AUTO_LIST  
> AUTO_NAME_DIRS AUTO_PARAM_KEYS AUTO_PUSHD AUTO_REMOVE_SLASH BG_NICE BRACE_CCL  
> CDABLE_VARS COMPLETE_IN_WORD CORRECT CSH_JUNKIE_HISTORY EXTENDED_GLOB  
> HASH_CMDS HASH_DIRS HASH_LIST_ALL HIST_IGNORE_DUPS HIST_IGNORE_SPACE  
> HIST_NO_STORE HIST_VERIFY IGNORE_EOF ALWAYS_LAST_PROMPT LIST_AMBIGUOUS  
> LIST_TYPES LONG_LIST_JOBS MAGIC_EQUAL_SUBST MARK_DIRS MENU_COMPLETE  
> NO_BAD_PATTERN NO_BEEP NO_CLOBBER NO_FLOW_CONTROL NO_HUP NO_LIST_BEEP NOTIFY  
> NUMERIC_GLOB_SORT PRINT_EXIT_VALUE PROMPT_SUBST PUSHD_IGNORE_DUPS  
> PUSHD_SILENT PUSHD_TO_HOME RC_EXPAND_PARAM RC_QUOTES
> 


  parent reply	other threads:[~1999-05-09 17:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-05-06 15:17 howto: no space after completion Sven Wischnowsky
1999-05-06 15:52 ` howto: no space after completion (this used to work in 3.0.5!!!!) Timothy J Luoma
1999-05-06 17:40   ` Larry P. Schrof
1999-05-09 17:01   ` Michael Barnes [this message]
1999-05-10 21:01     ` Timothy J Luoma
1999-05-10 21:55     ` Stefan Monnier
1999-05-07  6:43 Sven Wischnowsky
1999-05-07 14:29 ` Larry P. Schrof

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19990509130157.A1438@vt.edu \
    --to=mibarnes@vt.edu \
    --cc=zsh-users@sunsite.auc.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).