git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D
--
As a ZSH function:
function gfd() {
git fetch -p && git branch -vv | awk '/: gone]/{print $1}' | xargs git branch -D
--
As a ZSH function:
function gfd() {
| #!/usr/bin/env node | |
| console.log('Running a gist directly in your terminal via npx? Are you MAD! ;)'); |
| export class SomeAsyncClass { | |
| private _ready: Promise<void>; | |
| private _readyResolver: Function; | |
| constructor() { | |
| this._ready = new Promise(resolve => (this._readyResolver = resolve)); | |
| this.init(); | |
| } | |
| private async init() { |
I hereby claim:
To claim this, I am signing this object: