mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-17 01:42:45 +02:00
... and switch back from stefanhaller's tcell fork to the official tcell. This
basically reverts 7ccb871a45
.
20 lines
421 B
Bash
20 lines
421 B
Bash
#!/bin/bash
|
|
while read line
|
|
do
|
|
case "$line" in
|
|
*'|'*)
|
|
alias=${line#*|}
|
|
line=${line%|*}
|
|
;;
|
|
*)
|
|
alias=${line%%,*}
|
|
;;
|
|
esac
|
|
|
|
alias=${alias//-/_}
|
|
direc=${alias:0:1}
|
|
|
|
mkdir -p ${direc}/${alias}
|
|
go run mkinfo.go -P ${alias} -go ${direc}/${alias}/term.go ${line//,/ }
|
|
done < models.txt
|