]> git.phdru.name Git - dotfiles.git/commitdiff
.shellrc: remove one-time functions
authorOleg Broytman <phd@phdru.name>
Mon, 8 Aug 2016 05:13:14 +0000 (08:13 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 8 Aug 2016 05:13:14 +0000 (08:13 +0300)
.shellrc

index 2f7e05bab78d7854c05b7cfd87a90add4e8de835..247a779b6bd35ddcec1ad1f4e83cde7ac2672dbf 100644 (file)
--- a/.shellrc
+++ b/.shellrc
@@ -116,6 +116,7 @@ if test -n "$BASH_VERSION"; then
       _wget_completion_loader() {
          _completion_loader wget
          complete -F _wget wget-m wget-wrapper ww
+         unset _wget_completion_loader
          return 124
       }
       complete -F _wget_completion_loader wget-m wget-wrapper ww
@@ -130,6 +131,7 @@ if test -n "$BASH_VERSION"; then
       _rsync_completion_loader() {
          _completion_loader rsync
          complete -F _rsync r
+         unset _rsync_completion_loader
          return 124
       }
       complete -F _rsync_completion_loader r
@@ -139,6 +141,7 @@ if test -n "$BASH_VERSION"; then
       _ssh_completion_loader() {
          _completion_loader ssh
          complete -F _ssh s
+         unset _ssh_completion_loader
          return 124
       }
       complete -F _ssh_completion_loader s