From f314eb82b7418271fb1bff3622f814e58b227145 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Mon, 27 Dec 2021 22:27:54 -0700 Subject: [PATCH] gca changes and flushdns --- fish.configlink/functions/abbrs.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fish.configlink/functions/abbrs.fish b/fish.configlink/functions/abbrs.fish index 1e17c01..5edd679 100644 --- a/fish.configlink/functions/abbrs.fish +++ b/fish.configlink/functions/abbrs.fish @@ -27,7 +27,7 @@ function abbrs --description 'All abbreviations' abbr -a gaa 'git add -A' abbr -a gac 'git commit -am' abbr -a gc 'git commit -m' - abbr -a gca 'git commit --amend' + abbr -a gca 'git commit --amend --no-edit' abbr -a gu 'git pull' abbr -a gp 'git push' abbr -a gpp git-push-upstream @@ -100,6 +100,7 @@ function abbrs --description 'All abbreviations' abbr -a publickey 'ssh-keygen -y -f ~/.ssh/id_rsa > ~/.ssh/id_rsa.pub' abbr -a forloop 'for i in (seq 1 100)' abbr -a gatekeeper 'sudo spctl --master-disable' + abbr -a flushdns 'sudo dscacheutil -flushcache && sudo killall -HUP mDNSResponder' # Docker abbr -a dc '$DOTS/bin/docker_cleanup'