vercel / hyper

A terminal built on web technologies

Home Page:https://hyper.is

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weird output when running Kubernetes commands.

pranavelric opened this issue · comments

  • I am on the latest Hyper.app version
  • I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Ubuntu 20.04

  • Hyper.app version: 3.2.3

  • The issue is reproducible in vanilla Hyper.app:

  • .hyper.js

"use strict";
module.exports = {
    config: {
      
        updateChannel: 'stable',
        fontSize: 12,
        fontFamily: 'MesloLGS NF',
        fontWeight: 'normal',
        fontWeightBold: 'bold',
        lineHeight: 1,
        letterSpacing: 0,
        cursorColor: 'blue',
        cursorAccentColor: '#000',
        cursorShape: 'BLOCK',
        cursorBlink: false,
        foregroundColor: '#fff',
        backgroundColor: '#000',
        selectionColor: 'rgba(248,28,229,0.3)',
        borderColor: '#333',
        css: '',
        termCSS: '',
        workingDirectory: '',
        showHamburgerMenu: '',
        showWindowControls: '',
        padding: '12px 14px',
        hyperStatusLine: {
                dirtyColor: 'salmon',
                  aheadColor: 'ivory',
                    footerTransparent: true,
        },

         hyperSearchUI: {
        inputBorderRadius: 2
      },
      hyperTabs: {
        trafficButtons: true,
         tabIconsColored: true,
          border: true,
      },

     
        colors: {
            black: '#000000',
            red: '#C51E14',
            green: '#1DC121',
            yellow: '#C7C329',
            blue: '#0A2FC4',
            magenta: '#C839C5',
            cyan: '#20C5C6',
            white: '#C7C7C7',
            lightBlack: '#686868',
            lightRed: '#FD6F6B',
            lightGreen: '#67F86F',
            lightYellow: '#FFFA72',
            lightBlue: '#6A76FB',
            lightMagenta: '#FD7CFC',
            lightCyan: '#68FDFE',
            lightWhite: '#FFFFFF',
            limeGreen: '#32CD32',
            lightCoral: '#F08080',
        },
 
      env: {DEBUG: true},
      bell: 'SOUND',
      copyOnSelect: false,
      defaultSSHApp: true,
      quickEdit: false,
      macOptionSelectionMode: 'vertical',
      webGLRenderer: true,
  
    },
  
  
    plugins: [
      `hyperpower`,
        `hyperborder`,
     `hyper-tab-icons`,
      `hyper-blink`,
      `hyper-search`,
      `hyper-pane`,
    `hyper-statusline`,
    `hyper-blink`,
  `hyperterm-material`,
    `hyper-transparent-bg`,
    `gitrocket`,
 `hyper-snazzy`,
      `hyper-dark-scrollbar`,
      `hyper-opacity`,
      ],
    localPlugins: [],
    keymaps: {
    },
  };

Issue

While running kubectx command on hyper terminal I am getting weird output as shown in screenshot below.
kubectx_error

I am getting similar output while running kubens command.

This doesn't look like an issue with Hyper, it looks like it just set +x when calling kubectx. If you take a look at https://github.com/ahmetb/kubectx/blob/master/kubectx, you should see some similarities.

@drewgonzales360 , How can I resolve this : I tried inputting set +x before running kubectx or kubens. But still there commands are giving that debug output.

It's difficult to say. I don't know how your environment is set up. Since this isn't an issue with the terminal, I'd say that we should close this 😁. I'd look at the dotfiles on your machine and see if you can find any smoking guns.