Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
history puzzle
- X-seq: zsh-users 29996
 
- From: Ray Andrews <rayandrews@xxxxxxxxxxx>
 
- To: Zsh Users <zsh-users@xxxxxxx>
 
- Subject: history puzzle
 
- Date: Tue, 4 Jun 2024 11:00:49 -0700
 
- Archived-at: <https://zsh.org/users/29996>
 
- List-id: <zsh-users.zsh.org>
 
  
  
    Trying to do fancier things with history
      I'm clearly not understanding something.  Doc says '^' is first
      word in a history entry and '$' is the last. But:
      
    % history -m "^" 1                  #
      Shows everything
      % history -m "^nosuchstring" 1      # Also shows everything
      % history -m "$" 1                  # Shows nothing
    
        ... so I'm obviously missing something.  
        
      
    
  
Messages sorted by:
Reverse Date,
Date,
Thread,
Author