From 8ee9112de96f40fb54a3b2cb7d39b3b3ac52f288 Mon Sep 17 00:00:00 2001 From: Noah Masur Date: Wed, 7 Apr 2021 08:37:53 -0400 Subject: [PATCH] cd to root of git --- 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 5e076a4..2f584b7 100644 --- a/fish.configlink/functions/abbrs.fish +++ b/fish.configlink/functions/abbrs.fish @@ -42,13 +42,14 @@ function abbrs --description 'All abbreviations' abbr -a gmf 'git-merge-fuzzy' abbr -a gcp 'git cherry-pick' abbr -a ghr 'gh repo view -w' + abbr -a cdg 'cd (git rev-parse --show-toplevel)' # Vim abbr -a v 'vim' abbr -a vimrc 'vim $HOME/.vimrc' # Notes - abbr -a qn 'quicknote' + abbr -a qn 'quicknote "' abbr -a sn 'syncnotes' # Improved CLI Tools