Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
bb10ad0a
Commit
bb10ad0a
authored
Sep 16, 2015
by
Daniel Stankevich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary sandbox fn
parent
a8a8bc39
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
12 deletions
+0
-12
stack.plugin.zsh
plugins/stack/stack.plugin.zsh
+0
-12
No files found.
plugins/stack/stack.plugin.zsh
View file @
bb10ad0a
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() {
...
@@ -46,4 +35,3 @@ function _stack_commands() {
}
}
compdef _stack_commands stack
compdef _stack_commands stack
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment