![]() ITerm2 can show an alert box when a mark appears. Add the iterm2_prompt_mark as directed above to your prompt through those means available to you. Add export ITERM2_SQUELCH_MARK=1 before the shell integration script is sourced. If you have a multi-line prompt and would like to customize the mark's location, add this to your PS1 at the location where the mark should appear:įish users can place this line somewhere in their fish_prompt function: iterm2_prompt_markįor zsh and bash users: if you are unable to modify PS1 directly (for example, if you use a zsh theme that wants to control PS1), you must take an extra step. You can navigate marks with Cmd-Shift-Up and Down-arrow keys. Marks are indicated visually by a small blue triangle in the left margin. When shell integration is enabled, iTerm2 automatically adds a mark at each command prompt. The return code of the last-run command.Where a command entered at the command prompt ends and its output begins. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |