Last active
          September 15, 2025 15:55 
        
      - 
      
- 
        Save espaciomore/28e24ce4f91177c0964f4f67bb5c5fda to your computer and use it in GitHub Desktop. 
    Watch command for Git Bash
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | #!/bin/bash | |
| ARGS="${@}" | |
| clear; | |
| while(true); do | |
| OUTPUT=`$ARGS` | |
| clear | |
| echo -e "${OUTPUT[@]}" | |
| done | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
Additional update on top of @ManuelReschke's version! I've added the eval command to support the usage of
|and other more complex commandsverified in Git Bash terminal