summary refs log tree commit diff
path: root/home/.shrc
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-25 17:59:15 -0500
committerJune McEnroe <june@causal.agency>2021-01-25 18:00:24 -0500
commitefa4b6de4f8d92ceb8769da34dbf6e222f2158b2 (patch)
tree1dd96f0a6b5d0c7887b4c4eddd972ea7c4804156 /home/.shrc
parentUse mtags for sh in source-filter (diff)
downloadsrc-efa4b6de4f8d92ceb8769da34dbf6e222f2158b2.tar.gz
src-efa4b6de4f8d92ceb8769da34dbf6e222f2158b2.zip
Use vi and less
I haven't used neovim in a couple weeks by now, so I may as well
commit this.
Diffstat (limited to 'home/.shrc')
-rw-r--r--home/.shrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/.shrc b/home/.shrc
index bf3e0dfe..df980428 100644
--- a/home/.shrc
+++ b/home/.shrc
@@ -2,7 +2,7 @@ set -o noclobber -o nounset -o vi
 
 CDPATH=:~
 
-alias vim=$EDITOR
+alias vi=$EDITOR vim=$EDITOR
 alias ls='LC_COLLATE=C ls -p'
 alias ll='ls -hl'
 alias bc='bc -l'
@@ -14,7 +14,7 @@ alias gc='git commit' gca='gc --amend' gt='git tag'
 alias gp='git push' gu='git pull' gf='git fetch' gr='git rebase'
 alias rand='openssl rand -base64 33'
 alias private='eval "$(gpg -d ~/.private)"'
-type doas >/dev/null 2>&1 && alias sudo=doas
+type doas >/dev/null && alias sudo=doas
 
 cd() {
 	local path