mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
Remove unnecessary sandbox fn
This commit is contained in:
parent
a8a8bc3967
commit
bb10ad0a13
1 changed files with 0 additions and 12 deletions
|
@ -1,14 +1,3 @@
|
||||||
function stack_sandbox_info() {
|
|
||||||
stack_files=(*.stack(N))
|
|
||||||
if [ $#stack_files -gt 0 ]; then
|
|
||||||
if [ -f stack.sandbox.config ]; then
|
|
||||||
echo "%{$fg[green]%}sandboxed%{$reset_color%}"
|
|
||||||
else
|
|
||||||
echo "%{$fg[red]%}not sandboxed%{$reset_color%}"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
function _stack_commands() {
|
function _stack_commands() {
|
||||||
local ret=1 state
|
local ret=1 state
|
||||||
_arguments ':subcommand:->subcommand' && ret=0
|
_arguments ':subcommand:->subcommand' && ret=0
|
||||||
|
@ -46,4 +35,3 @@ function _stack_commands() {
|
||||||
}
|
}
|
||||||
|
|
||||||
compdef _stack_commands stack
|
compdef _stack_commands stack
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue