Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func pluginCommand() *cobra.Command {
pluginName := filepath.Base(pluginPath)
logger := setupLogger(pluginName)

// Start the goroutine to hande the plugin command
// Start the goroutine to handle the plugin command
go func() {
for cmd := range commands {
response := executePluginCommand(cmd, logger)
Expand Down
2 changes: 1 addition & 1 deletion cmd/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func repoCommand() *cobra.Command {
// }
// logger.Info(repo_url)

// // Download the spaceocre from the source url
// // Download the spacecore from the source url
// // Verify the downloaded content (checksum)
// // Register the spacecore in the Vimana system
// // Add the spacecore to the config.toml file
Expand Down
14 changes: 7 additions & 7 deletions scripts/eigen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -400,9 +400,9 @@ completions() {
BASH_COMPLETION_SCRIPTS_DIR=~/.local/share/bash-completion/completions
BASH_COMPLETION_SCRIPT_PATH=$BASH_COMPLETION_SCRIPTS_DIR/eigenlayer.sh
mkdir -p $BASH_COMPLETION_SCRIPTS_DIR
COBRA_COMPLETION_SUCCEDED=false
$BINDIR/$BINARY completion bash > $BASH_COMPLETION_SCRIPT_PATH 2> /dev/null && COBRA_COMPLETION_SUCCEDED=true
if [ $COBRA_COMPLETION_SUCCEDED = true ]
COBRA_COMPLETION_SUCCEEDED=false
$BINDIR/$BINARY completion bash > $BASH_COMPLETION_SCRIPT_PATH 2> /dev/null && COBRA_COMPLETION_SUCCEEDED=true
if [ $COBRA_COMPLETION_SUCCEEDED = true ]
then
touch $BASH_COMPLETION_MAIN
sed_in_place "/.*# eigenlayer completion/d" $BASH_COMPLETION_MAIN
Expand Down Expand Up @@ -441,9 +441,9 @@ completions() {
ZSH_COMPLETION_SCRIPTS_DIR=~/.local/share/zsh-completion/completions
ZSH_COMPLETION_SCRIPT_PATH=$ZSH_COMPLETION_SCRIPTS_DIR/_eigenlayer
mkdir -p $ZSH_COMPLETION_SCRIPTS_DIR
COBRA_COMPLETION_SUCCEDED=false
$BINDIR/$BINARY completion zsh > $BASH_COMPLETION_SCRIPT_PATH 2> /dev/null && COBRA_COMPLETION_SUCCEDED=true
if [ $COBRA_COMPLETION_SUCCEDED = true ]
COBRA_COMPLETION_SUCCEEDED=false
$BINDIR/$BINARY completion zsh > $BASH_COMPLETION_SCRIPT_PATH 2> /dev/null && COBRA_COMPLETION_SUCCEEDED=true
if [ $COBRA_COMPLETION_SUCCEEDED = true ]
then
touch $ZSH_COMPLETION_MAIN
sed_in_place "/.*# eigenlayer completion/d" $ZSH_COMPLETION_MAIN
Expand All @@ -457,4 +457,4 @@ completions() {

if [ "$RUN_COMPLETIONS" = true ]; then
completions
fi
fi