mirror of https://github.com/ohmyzsh/ohmyzsh.git
Compare commits
4 Commits
477eeb45dd
...
86408ba897
Author | SHA1 | Date |
---|---|---|
|
86408ba897 | |
|
cae2e45193 | |
|
276e540eed | |
|
7d4df94bfc |
|
@ -1,6 +1,7 @@
|
|||
#!/usr/bin/env zsh
|
||||
|
||||
function omz {
|
||||
setopt localoptions noksharrays
|
||||
[[ $# -gt 0 ]] || {
|
||||
_omz::help
|
||||
return 1
|
||||
|
|
|
@ -22,5 +22,5 @@ fi
|
|||
rustup completions zsh >| "$ZSH_CACHE_DIR/completions/_rustup" &|
|
||||
cat >| "$ZSH_CACHE_DIR/completions/_cargo" <<'EOF'
|
||||
#compdef cargo
|
||||
source "$(rustc +${${(z)$(rustup default)}[1]} --print sysroot)"/share/zsh/site-functions/_cargo
|
||||
source "$(rustup run ${${(z)$(rustup default)}[1]} rustc --print sysroot)"/share/zsh/site-functions/_cargo
|
||||
EOF
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Symfony2 basic command completion
|
||||
|
||||
_symfony_console () {
|
||||
echo "php $(find . -maxdepth 2 -mindepth 1 -name 'console' -type f | head -n 1)"
|
||||
echo "php $(find . -maxdepth 2 -mindepth 1 -name 'console' -type f | tail -n 1)"
|
||||
}
|
||||
|
||||
_symfony2_get_command_list () {
|
||||
|
|
Loading…
Reference in New Issue