andresgongora / synth-shell

Boost your terminal, script by script
GNU General Public License v3.0
945 stars 236 forks source link

Terminal no longer starts up in home directory #250

Closed awkto closed 10 months ago

awkto commented 10 months ago

Describe the bug After installing synth, my terminal no longer starts up in my home directory. Instead it always starts up in the folder where I had cloned the synth git repo (/home/username/repos/synth-shell)

To Reproduce Steps to reproduce the behavior:

  1. Clone repo on Fedora 38
  2. CD into the cloned folder
  3. Install synth
  4. Restart terminal

Expected behavior My terminal should continue to start in my home directory

andresgongora commented 10 months ago

That is VERY odd. Your .bashrc file will 'source' the script and just run it, it should not 'cd' to the script's folder. Do you observe any other errors? Does the script work as expected? Also, if you uninstall it (or comment it out in your bashrc file) does it revert back to the correct behavior?

On Fri, Sep 22, 2023 at 7:54 AM Dr Awktopus @.***> wrote:

Describe the bug After installing synth, my terminal no longer starts up in my home directory. Instead it always starts up in the folder where I had cloned the synth git repo (/home/username/repos/synth-shell)

To Reproduce Steps to reproduce the behavior:

  1. Clone repo on Fedora 38
  2. CD into the cloned folder
  3. Install synth
  4. Restart terminal

Expected behavior My terminal should continue to start in my home directory

— Reply to this email directly, view it on GitHub https://github.com/andresgongora/synth-shell/issues/250, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC36INQXKYVDTZKC2TB7DALX3URY7ANCNFSM6AAAAAA5CSNOPU . You are receiving this because you are subscribed to this thread.Message ID: @.***>

awkto commented 10 months ago

Commenting out the scripts showed me the issue was on my end, as it was still happening. Turns out I had some terminal window still open, and by default it always opens to the same directory if one window is already open. Closing out