We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 }
The text was updated successfully, but these errors were encountered:
需要软件:mdcat 和 fzf , mdcat 也可以用 bat 或其他代替
mdcat
fzf
bat
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: