jaywcjlove / jaywcjlove/linux-command
搭配 fzf 食用本项目
- Dominant language
- Markdown
- Stars
- 36.9k
- Forks
- 6.6k
- PR merge metrics
- No merged PRs in 30d
Description
```bash
fl() {
dir="You_Commands_Dir"
commandsfile=$(find $dir -name '*.md' | sed "s#$dir/##; s/\.md//" | fzf --prompt='LinuxCommands> ' --preview "echo $dir/{}.md | xargs -r mdcat -p" | awk '{printf "'$dir'/%s.md", $1}')
if [ $commandsfile ]; then
mdcat -p $commandsfile
else
echo >> /dev/null
fi
}
```

Contributor guide
Research direction
The issue contains a Bash function using fzf, find, awk, and mdcat, but names no repository file, test, or entry point to change. Start by locating the command or search documentation related to this project and determine where this integration belongs; done should include a clearly documented, working fzf-based usage path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100