bb10ad0a13f0dfc1d716ea023d4fc806a4e167d0
- Author
- Daniel Stankevich <daniel.stankevich@rea-group.com>
- Committer
- Daniel Stankevich <daniel.stankevich@rea-group.com>
- Date
Message
Remove unnecessary sandbox fn
Diff
1diff --git a/plugins/stack/stack.plugin.zsh b/plugins/stack/stack.plugin.zsh
2index 7cc256394ba5324e4cfe2ddfb88c502bfaced81d..a149208d0ab364ded6ce46c1ed19da75597737d9 100644
3--- a/plugins/stack/stack.plugin.zsh
4+++ b/plugins/stack/stack.plugin.zsh
5@@ -1,14 +1,3 @@
6-function stack_sandbox_info() {
7- stack_files=(*.stack(N))
8- if [ $#stack_files -gt 0 ]; then
9- if [ -f stack.sandbox.config ]; then
10- echo "%{$fg[green]%}sandboxed%{$reset_color%}"
11- else
12- echo "%{$fg[red]%}not sandboxed%{$reset_color%}"
13- fi
14- fi
15-}
16-
17 function _stack_commands() {
18 local ret=1 state
19 _arguments ':subcommand:->subcommand' && ret=0
20@@ -46,4 +35,3 @@ function _stack_commands() {
21 }
22
23 compdef _stack_commands stack
24-