]> git.phdru.name Git - dotfiles.git/commitdiff
.bashrc: Fix variable name spelling
authorOleg Broytman <phd@phdru.name>
Sat, 8 Oct 2022 19:43:18 +0000 (22:43 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 8 Oct 2022 19:43:18 +0000 (22:43 +0300)
.bashrc

diff --git a/.bashrc b/.bashrc
index c1d88ed8a3dd4ef90afbb9a693c923acc28c81bd..6a4dec4d9e3f80c01631a4adb58fd6216bf33585 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -118,7 +118,7 @@ delegate_completion() {
     programs="$@"
     eval "_${prog}_completion_loader() {
         _completion_loader $prog
-        if [ x"$DELEGARE_NOSPACE" = x1 ]; then
+        if [ x"$DELEGATE_NOSPACE" = x1 ]; then
             complete -o nospace -F _$prog $programs
         else
             complete -F _$prog $programs
@@ -132,7 +132,7 @@ delegate_completion() {
 delegate_completion make m
 delegate_completion ping p
 delegate_completion python python2.7 python3.4 python3.5 python3.6 python3.7 python3.8 python3.9 python3.10
-DELEGARE_NOSPACE=1 delegate_completion rsync r rsync_cgmn rsync_cgmn_recode rsync_cgmn_recode2
+DELEGATE_NOSPACE=1 delegate_completion rsync r rsync_cgmn rsync_cgmn_recode rsync_cgmn_recode2
 delegate_completion ssh s
 delegate_completion wget wget-m wget-wrapper ww