diff options
| -rw-r--r-- | kshrc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -396,6 +396,12 @@ dpwenv() { rm -f "$_f" } +# With some minor tweaks, this should work for chromium based browsers too +braveListProfiles() { + cat ~/.config/BraveSoftware/Brave-Browser/Local\ State \ + | jq -r '.profile | .info_cache | to_entries | .[] | "\(.key)\t\(.value.name)"' +} + # gensubids is useful for generating /etc/subuid and /etc/subgid # if you have say a 3rd user you want to add gensubids() { |
