This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import argparse | |
import os | |
import json | |
def remove_keys_from_dict(d, keys): | |
did_clean = False | |
if isinstance(d, dict): | |
for k, v in list(d.items()): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# | |
# What is this: | |
# This script generates an LS_COLORS theme. | |
# | |
# By default it is using the same colors as the ls replacement exa. The | |
# purpose is to generate an LS_COLORS theme that is consistent with exa's | |
# colors so that it can be used by other tools like fzf. | |
# |