Last active
          September 10, 2025 04:13 
        
      - 
      
- 
        Save diegogub/49d57cb38fa6f3de456795d8d334c029 to your computer and use it in GitHub Desktop. 
    small script for helix repl driven development
  
        
  
    
      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 | |
| # | |
| lang=$1 | |
| while IFS= read -r line; do | |
| tmux send-keys -t .+ -l " $line " | |
| #tmux send-keys -t .+ -H $(echo -n $line | xxd -p -u) | |
| done | |
| case $lang in | |
| "ocaml") | |
| tmux send-keys -t .+ ";\;" | |
| ;; | |
| esac | |
| tmux send-keys -t .+ Enter | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment