浏览代码

Remove unnecessary sandbox fn

Daniel Stankevich 8 年之前
父节点
当前提交
bb10ad0a13
共有 1 个文件被更改,包括 0 次插入12 次删除
  1. 0 12
      plugins/stack/stack.plugin.zsh

+ 0 - 12
plugins/stack/stack.plugin.zsh

@@ -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() {
     local ret=1 state
     _arguments ':subcommand:->subcommand' && ret=0
@@ -46,4 +35,3 @@ function _stack_commands() {
 }
 
 compdef _stack_commands stack
-