add pandoc + alias to see markdown files
This commit is contained in:
parent
75989f4a6d
commit
e8f90534a8
2
Brewfile
2
Brewfile
@ -92,3 +92,5 @@ brew "diff-so-fancy"
|
|||||||
brew "ncdu"
|
brew "ncdu"
|
||||||
# add tldr alternative to help
|
# add tldr alternative to help
|
||||||
brew "tldr"
|
brew "tldr"
|
||||||
|
# add pandoc
|
||||||
|
brew "pandoc"
|
||||||
|
@ -208,3 +208,6 @@ yum -y install ncdu
|
|||||||
|
|
||||||
# Install tldr alternative to help
|
# Install tldr alternative to help
|
||||||
curl https://raw.githubusercontent.com/raylee/tldr/master/tldr > /usr/local/bin/tldr && chmod +x /usr/local/bin/tldr
|
curl https://raw.githubusercontent.com/raylee/tldr/master/tldr > /usr/local/bin/tldr && chmod +x /usr/local/bin/tldr
|
||||||
|
|
||||||
|
# Add pandoc
|
||||||
|
yum -y install pandoc
|
||||||
|
@ -52,6 +52,8 @@ alias mailpro="gmail"
|
|||||||
# Viewing files
|
# Viewing files
|
||||||
alias cat='bat --style=plain --color "always"'
|
alias cat='bat --style=plain --color "always"'
|
||||||
alias preview="fzf --preview 'bat --color \"always\" --style=plain {}'"
|
alias preview="fzf --preview 'bat --color \"always\" --style=plain {}'"
|
||||||
|
alias markdown='pandoc README.md | lynx -stdin -dump'
|
||||||
|
|
||||||
# To do / Done
|
# To do / Done
|
||||||
#alias done='task_done'
|
#alias done='task_done'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user