read -rsn 1 exit ' # Open a new tab in iTerm2 (if installed). Ttab 'ls "$HOME/Library/Application Support" echo Press a key to exit. ![]() # Open a new tab, execute a command, wait for a keypress, and exit. # Open a new tab, execute the specified script, and exit. # Open a new tab and execute the specified script before showing the prompt. Ttab -t 'How Green Was My Valley ' -s Grass # See the note re use of -t in iTerm2 below. # Open a new tab with title 'How Green Was My Valley' and settings 'Grass'. Ttab -d ~/Library/Application \ Support ls -1 Ttab 'git branch git status ' # Open a new tab, switch to the specified dir., then execute the specified # command before showing the prompt. # Open a new tab and execute *multiple* commands in it - note how the entire # command line is specified as *single, quoted string*. # Note: You may preset the delay via environment variable TTAB_CMD_DELAY Ttab ls -l " $HOME/Library/Application Support " # Open a new tab and execute the specified command *after a delay* of 0.8 secs, # to accommodate shells with lengthy initialization-file processing. # Open a new tab and execute the specified command before showing the prompt. # Open a new tab in a new terminal window. # Open a new tab in the current terminal window. With Homebrew installed, run the following: If you're not prompted on first run and get an error message instead, go to System Preferences > Security
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |