~/.tmux.conf doesn't work when starting but does with “source-file”

Identifying the interval from A♭ to D♯

Examples of odd-dimensional manifolds that do not admit contact structure

Life insurance that covers only simultaneous/dual deaths

Unreachable code, but reachable with exception

What exactly is the purpose of connection links straped between the rocket and the launch pad

"One can do his homework in the library"

Why would a jet engine that runs at temps excess of 2000°C burn when it crashes?

Touchscreen-controlled dentist office snowman collector game

It's a yearly task, alright

Co-worker team leader wants to inject the crap software product of his friends into our development. What should I say to our common boss?

Should we release the security issues we found in our product as CVE or we can just update those on weekly release notes?

What is the blue range indicating on this manifold pressure gauge?

Word for a person who has no opinion about whether god exists

What to do when during a meeting client people start to fight (even physically) with each others?

Make a transparent 448*448 image

What is the likely impact on flights of grounding an entire aircraft series?

"However" used in a conditional clause?

Is all copper pipe pretty much the same?

When two POV characters meet

Single word request: Harming the benefactor

Want to switch to tankless, but can I use my existing wiring?

Is "history" a male-biased word ("his+story")?

Making a sword in the stone, in a medieval world without magic

Do f-stop and exposure time perfectly cancel?



~/.tmux.conf doesn't work when starting but does with “source-file”














0















I want to start tmux with two panes and have one of them running a program:




[0] [ishpeck@kiyoshi ~]$ cat ~/.tmux.conf

split-window -h top

[0][ishpeck@kiyoshi ~]$ tmux




When tmux comes up, it displays the error:




/home/ishpeck/.tmux.conf:1: no current target




With tmux still open, I hit prefix then type ":source ~/.tmux.conf " and it works as expected. Why does it never work at start-up, but works fine when I'm sourcing it?









share



























    0















    I want to start tmux with two panes and have one of them running a program:




    [0] [ishpeck@kiyoshi ~]$ cat ~/.tmux.conf

    split-window -h top

    [0][ishpeck@kiyoshi ~]$ tmux




    When tmux comes up, it displays the error:




    /home/ishpeck/.tmux.conf:1: no current target




    With tmux still open, I hit prefix then type ":source ~/.tmux.conf " and it works as expected. Why does it never work at start-up, but works fine when I'm sourcing it?









    share

























      0












      0








      0








      I want to start tmux with two panes and have one of them running a program:




      [0] [ishpeck@kiyoshi ~]$ cat ~/.tmux.conf

      split-window -h top

      [0][ishpeck@kiyoshi ~]$ tmux




      When tmux comes up, it displays the error:




      /home/ishpeck/.tmux.conf:1: no current target




      With tmux still open, I hit prefix then type ":source ~/.tmux.conf " and it works as expected. Why does it never work at start-up, but works fine when I'm sourcing it?









      share














      I want to start tmux with two panes and have one of them running a program:




      [0] [ishpeck@kiyoshi ~]$ cat ~/.tmux.conf

      split-window -h top

      [0][ishpeck@kiyoshi ~]$ tmux




      When tmux comes up, it displays the error:




      /home/ishpeck/.tmux.conf:1: no current target




      With tmux still open, I hit prefix then type ":source ~/.tmux.conf " and it works as expected. Why does it never work at start-up, but works fine when I'm sourcing it?







      linux tmux





      share












      share










      share



      share










      asked 46 secs ago









      IshpeckIshpeck

      1193




      1193






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1413870%2ftmux-conf-doesnt-work-when-starting-but-does-with-source-file%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Super User!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1413870%2ftmux-conf-doesnt-work-when-starting-but-does-with-source-file%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...

          Tribunal Administrativo e Fiscal de Mirandela Referências Menu de...

          looking for continuous Screen Capture for retroactivly reproducing errors, timeback machineRolling desktop...