Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-8296

DO240-45: oc edit launches "gedit" instead of vim and it fails to save

XMLWordPrintable

    • en-US (English)

      URL:
      Reporter RHNID:
      Section: -
      Language: en-US (English)
      Workaround: Temporarily "export EDITOR=nano" or something else than "gedit".

      Description: Since the default editor is now "gedit", less experienced students will happily accept that.

      However, and that is a very common scenario, if they are currently editing a file (many do, to keep various recently used commands, tokens, user-keys, URLs, etc. in the same place), "oc edit svc" will open a new tab in that same "gedit" instance, and the editor will then fail to save it correctly for the "oc edit" command to pick the change up.

       

       

        1. image-2022-10-04-15-26-46-923.png
          349 kB
          Carlos Arias
        2. image-2022-11-28-13-12-24-238.png
          59 kB
          Richard Allred

              rht-rallred Richard Allred
              gregab@p0f.net Grega Bremec
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: