mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
renamed manage.py completion file, added a module for auto-rehash
This commit is contained in:
parent
f92d4c20bc
commit
af8ed92d42
2 changed files with 8 additions and 0 deletions
8
lib/rehash.zsh
Normal file
8
lib/rehash.zsh
Normal file
|
|
@ -0,0 +1,8 @@
|
||||||
|
# auto rehash
|
||||||
|
_force_rehash(){
|
||||||
|
(( CURRENT == 1)) && rehash
|
||||||
|
return 1 # because we didn't really complete anything
|
||||||
|
}
|
||||||
|
|
||||||
|
zstyle ':completion:::::' completer _force_rehash _complete _approximate
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue