[Bug 619409] Re: dpkg/apt-get should automatically update zshs cache
There does not appear to be a method to dump the cache of hashed items system-wide. What you can do is using an alias/function to install programs, like: ainst() { sudo apt-get install $* type rehash > /dev/null && rehash } This would automatically call `rehash` after installing any programs. You might want to test for $UID therein, because "sudo" should not be used with the root user. See https://github.com/blueyed/oh-my- zsh/blob/master/plugins/apt/apt.plugin.zsh for some inspiration. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/619409 Title: dpkg/apt-get should automatically update zshs cache To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/619409/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 619409] Re: dpkg/apt-get should automatically update zshs cache
** Changed in: zsh (Ubuntu) Status: New => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/619409 Title: dpkg/apt-get should automatically update zshs cache To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/619409/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 619409] Re: dpkg/apt-get should automatically update zshs cache
If there's something that zsh should update in a central cache when a new command is installed, zsh itself can do this by adding a trigger. But dpkg should not be updating any zsh caches directly. Reassigning to zsh. ** Package changed: dpkg (Ubuntu) => zsh (Ubuntu) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/619409 Title: dpkg/apt-get should automatically update zshs cache -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 619409] Re: dpkg/apt-get should automatically update zshs cache
** Changed in: dpkg (Ubuntu) Importance: Undecided => Wishlist -- dpkg/apt-get should automatically update zshs cache https://bugs.launchpad.net/bugs/619409 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 619409] Re: dpkg/apt-get should automatically update zshs cache
** Attachment added: "Dependencies.txt" https://bugs.launchpad.net/bugs/619409/+attachment/1496009/+files/Dependencies.txt -- dpkg/apt-get should automatically update zshs cache https://bugs.launchpad.net/bugs/619409 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs