commit bca935cbfe4c32cf5b5e7e83ff862463a84c5c62
parent 990270995cc00dd1745f8b5306d6417e7105bd29
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Fri, 10 May 2019 11:52:24 +0200
commonprofile: fix vimq
Former-commit-id: 0660c1012905249179f983d3afb2e778706225f6
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shell/commonprofile b/shell/commonprofile
@@ -155,7 +155,7 @@ rmempty() { find "${1-.}" -type d -empty -depth -delete; } # Re
todos() { if [ -z "$1" ]; then 1="."; fi; grep -rnw "$1" -e "TODO"; } # Find TODO comments
find_in_files() { grep -rnw "$1" -e "$2"; } # Search for text in files
hr() { for ((i=0; i<$(tput cols); i++)); do echo -n "#"; done; echo; } # Insert a <hr> in the terminal
-vimq() { vim -v -q <($(fc -nl -1)); } # Load results of last command (often ag) in vim quickfix
+vimq() { vim -q <($(fc -nl -1)); } # Load results of last command (often ag) in vim quickfix
otp() { oathtool --totp --base32 "$1"; } # Generate OTP passwords (google authenticator alternative)
# Pip3 upgrade packages