6 lines
		
	
	
		
			155 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
		
			155 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/bin/bash
 | 
						|
 | 
						|
if (command -v git && command -v fzf) &>/dev/null; then
 | 
						|
    function gsb { git checkout "$(git branch --all | fzf | tr -d '[:space:]')"; }
 | 
						|
fi
 |