]> git.phdru.name Git - dotfiles.git/commitdiff
.shellrc: complete functions for unset in addition to vars
authorOleg Broytman <phd@phdru.name>
Sat, 27 Aug 2016 17:31:09 +0000 (20:31 +0300)
committerOleg Broytman <phd@phdru.name>
Sat, 27 Aug 2016 17:31:09 +0000 (20:31 +0300)
.shellrc

index 253d4347d579d3e0804d3a210500983fda3cdaf0..0d043e6362d8040711dc32c61b003b85e868668b 100644 (file)
--- a/.shellrc
+++ b/.shellrc
@@ -160,7 +160,7 @@ if test -n "$BASH_VERSION"; then
    unset has_completion
 
    complete -A job bg fg j jobs wait
-   complete -A variable unset
+   complete -A variable -A function unset
 
    if [ -d "$HOME/lib/config" ]; then
       complete -W "`cd \"$HOME/lib/config\" && echo *`" include