Giter Club home page Giter Club logo

Comments (6)

nixpulvis avatar nixpulvis commented on September 23, 2024 1

@mhfs I'm guessing this is because the PATH doesn't have your Homebrew bins in it when launched from the launcher.

Quickest fix:

[shell]
program = "/bin/zsh"
args = ["-l", "-c", "/opt/homebrew/bin/tmux"]

from alacritty.

mhfs avatar mhfs commented on September 23, 2024 1

hey @nixpulvis, that was spot on. thank you so much for dedicating some time to a new user! ❤️

Even though it's not directly related to Alacritty, I'll leave the details below in case anyone else faces the same issue trying to configure it.

I had Homebrew being bootstrapped from .zshrc which is not sourced during login shells (the -l in the zsh args). I moved it to .zprofile which is loaded by both login and interactive shells and it worked as expected.

From the ZSH documentation:

Commands are then read from $ZDOTDIR/.zshenv. If the shell is a login shell, commands are read from /etc/zprofile and then $ZDOTDIR/.zprofile. Then, if the shell is interactive, commands are read from /etc/zshrc and then $ZDOTDIR/.zshrc. Finally, if the shell is a login shell, /etc/zlogin and $ZDOTDIR/.zlogin are read.

from alacritty.

nixpulvis avatar nixpulvis commented on September 23, 2024

Strange that launching via alacritty from another terminal works, but the new window action fails.

from alacritty.

chrisduerr avatar chrisduerr commented on September 23, 2024

Strange that launching via alacritty from another terminal works, but the new window action fails.

Those use different environments. So I recommend checking that.

from alacritty.

mhfs avatar mhfs commented on September 23, 2024

@chrisduerr do you mind expanding a little on what those different environments are and how to check the differences? not very familiar with this concept of mixing native apps and terminal settings.

from alacritty.

chrisduerr avatar chrisduerr commented on September 23, 2024

I'm talking about env. Your system configuration is at fault here, not Alacritty. Up to you to fix that.

from alacritty.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.