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