看板 Linux 關於我們 聯絡資訊
大家好, 再次打擾了! OS : WIN_10x64 Emulator : cmder(ComEmu) Shell : cmd OR bash(cygwin) 今天的問題是如何使用 fzf 和 ag 開啟檔案(不是編輯) e.g. ag -g "\.exe" | fzf 使用方向鍵移動到我想開啟的檔案然後按下 Enter<CR> 但是我的 Cmder 只是將我已經選擇的檔案名稱顯示在最上方 且沒有任何後續動作. 是因為我誤解了這個工具了嗎? 還是我哪裡做錯了呢? 在此感謝各位耗費時間回答我的問題 :D -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 1.161.132.48 ※ 文章網址: https://www.ptt.cc/bbs/Linux/M.1513349680.A.8B2.html
galic: fzf的README.md就寫了 fzf will launch interactive finder 12/16 11:10
galic: ................ and write the selected item to STDOUT. 12/16 11:11
goldie: https://github.com/junegunn/fzf/wiki/Windows 看一下 12/16 13:00
leweir: @galic 感謝你的回答 也順便讓我學到了 std stream :D 12/18 16:37
leweir: @goldie 感謝您的連結 問題已經解決了 fzf 太神啦 o_O 12/18 16:38