generated from pure_sagacity/rust-starter
fixed the random pipe at the end of every repo
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ pub async fn user_select_repo(repositories: Vec<Repository>) -> Result<Repositor
|
|||||||
|
|
||||||
let mut child = Command::new("fzf")
|
let mut child = Command::new("fzf")
|
||||||
.arg("--delimiter").arg("\\|")
|
.arg("--delimiter").arg("\\|")
|
||||||
.arg("--with-nth").arg("2")
|
.arg("--with-nth").arg("{2}")
|
||||||
.arg("--preview")
|
.arg("--preview")
|
||||||
.arg("echo 'Repository: {2}\n-------------------\nID: {3}\nStars: ⭐ {4}\nDescription: {5}'")
|
.arg("echo 'Repository: {2}\n-------------------\nID: {3}\nStars: ⭐ {4}\nDescription: {5}'")
|
||||||
.arg("--preview-window").arg("right:50%:wrap")
|
.arg("--preview-window").arg("right:50%:wrap")
|
||||||
|
|||||||
Reference in New Issue
Block a user