commit 5d3ef84c3d0f68b5ff7fe90824f1032927a35aa5
parent b7be99c4a84367dbb86ff725090a5b16533d1ac2
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Sat, 8 Dec 2018 18:39:45 +0100
Do not launch editor when certain files are called
Diffstat:
1 file changed, 0 insertions(+), 11 deletions(-)
diff --git a/links/.zshrc b/links/.zshrc
@@ -98,17 +98,6 @@ _editor_fuzzy_grep() {
zle -N _editor_fuzzy_grep
bindkey '^g' _editor_fuzzy_grep
-
-for suffix in c cc cxx go graphql h html js json jsx md py rb rs ts tsx vim yml
-do
- alias -s $suffix=$EDITOR
-done
-
-for suffix in txt log
-do
- alias -s $suffix=$PAGER
-done
-
# remember -n flag for dry runs
alias zmv='noglob zmv'
alias zcp='noglob zmv -C'