User Tools

Site Tools


search_command_line_history_using_glob_pattern_matching

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Last revisionBoth sides next revision
search_command_line_history_using_glob_pattern_matching [2022/05/05 13:08] – [Situation] adminsearch_command_line_history_using_glob_pattern_matching [2022/05/05 13:09] – [Solution] admin
Line 33: Line 33:
 ==== Solution ==== ==== Solution ====
 Add the following lines to ~/.zshrc. Add the following lines to ~/.zshrc.
 +<WRAP indent>
 <code> <code>
 # Use glob patterns when using ctrl-r # Use glob patterns when using ctrl-r
Line 44: Line 45:
 fi fi
 </code> </code>
 +</WRAP>
  
 After this After this
 +<WRAP indent>
 <code> <code>
 ctrl-r ctrl-r
 cd*rutils cd*rutils
 </code> </code>
 +</WRAP>
 will match commands where cd is followed by rutils. will match commands where cd is followed by rutils.
  
search_command_line_history_using_glob_pattern_matching.txt · Last modified: 2022/05/05 13:09 by admin