Addition of a simple bash function#30
Conversation
|
Maybe it makes sense to open wiki section and place such snippets there? function chct() (
local alclr=alacritty-colorscheme
$alclr list \
| fzf "$@" --preview "
$alclr apply {}
bat --color=always --plain --line-range 52:68 ~/.zshrc
echo
exa -l /tmp"
)This shows a preview window with some colorized output and applies currently selected theme on the fly. Looks like this: |
|
@Zebradil It's quite nice to see the preview of the colors but it is indeed quite opinionated. |
|
@tnagorra exactly, it won't fit everyone's needs. That's why I'm proposing to open a Wiki in this repo — to be able to collect such kinds of snippets for bash, zsh, fish, or whatever else is used. Adding a bash snippet to the readme could also be helpful for me because I can learn from it and adapt to zsh. But having Wiki open gives more opportunities for people to share their ideas, tips and tricks. Take an example of the fzf's wiki. |
|
@Zebradil Just started the Wiki so that we can add snippets and examples. Sorry, it took so long. |

Adding a bash function to quickly choose and change the colorscheme for alacritty.