This assumes you have installed [fzf][1].
$ git branch --no-color | fzf -m | xargs -I {} git branch -D '{}'
Press tab
to mark a branch, shift-tab
to unmark. Press enter
and all marked branches will be deleted.
#!/usr/bin/env ruby | |
# Usage example (in a Terminal): | |
# | |
# bundle update | |
# script/gemdiffs.rb | |
# Rubygems version diffs. | |
puts `git diff Gemfile.lock`.lines. | |
select { |line| line.match?(/^[+-] \w/) }. |
{ | |
"lib/**/views/*_view.ex": { | |
"type": "view", | |
"alternate": "test/{dirname}/views/{basename}_view_test.exs", | |
"template": [ | |
"defmodule {dirname|camelcase|capitalize}.{basename|camelcase|capitalize}View do", | |
" use {dirname|camelcase|capitalize}, :view", | |
"end" | |
] | |
}, |
This should make True Color (24-bit) and italics work in your tmux session and vim/neovim when using Alacritty (and should be compatible with any other terminal emulator, including Kitty).
Running this script should look the same in tmux as without.
curl -s https://gist.githubusercontent.com/lifepillar/09a44b8cf0f9397465614e622979107f/raw/24-bit-color.sh >24-bit-color.sh
declare module 'yup' { | |
declare type ValidateOptions = { | |
strict?: boolean, | |
abortEarly?: boolean, | |
stripUnknown?: boolean, | |
recursive?: boolean, | |
context?: any | |
}; | |
declare type ValidationError = { |
initialize
: once, when the controller is first instantiatedconnect
: anytime the controller is connected to the DOMUse Bitnami Ruby Stack
terminal that bitnami installed (you can search this program in installed programs).