zsh and xfce4-terminal

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








7















I've changed my login shell to zsh from bash on an installation of Debian Squeeze with XFCE. When I launch xfce4-terminal, zsh starts but does not load my configuration.










share|improve this question















migrated from stackoverflow.com Apr 21 '11 at 14:27


This question came from our site for professional and enthusiast programmers.













  • 1





    You'll have to give more information. What configuration is not being loaded? Do you get different behavior from zsh in different circumstances on the same machine? Do you have a .zshrc? Post the output of ps $$; echo $ZSH_VERSION; ls -l ~/.zshrc in that XFCE terminal.

    – Gilles
    Apr 19 '11 at 21:28











  • @Gilles - I do have a .zshrc file. ZSH loads fine on a TTY or when I manually run zsh. I'll get output later this evening.

    – Larry G. Wapnitsky
    Apr 20 '11 at 12:25











  • @Gilles - Oddly, it started working last night after a reboot (which I had done already).

    – Larry G. Wapnitsky
    Apr 21 '11 at 10:24






  • 1





    You probably put your settings in .zprofile or .zlogin. Short answer: you should put your settings in .zshrc or .zshenv instead.

    – Mikel
    Apr 23 '11 at 3:37











  • @Mikel - they were in .zshrc

    – Larry G. Wapnitsky
    Apr 26 '11 at 13:08

















7















I've changed my login shell to zsh from bash on an installation of Debian Squeeze with XFCE. When I launch xfce4-terminal, zsh starts but does not load my configuration.










share|improve this question















migrated from stackoverflow.com Apr 21 '11 at 14:27


This question came from our site for professional and enthusiast programmers.













  • 1





    You'll have to give more information. What configuration is not being loaded? Do you get different behavior from zsh in different circumstances on the same machine? Do you have a .zshrc? Post the output of ps $$; echo $ZSH_VERSION; ls -l ~/.zshrc in that XFCE terminal.

    – Gilles
    Apr 19 '11 at 21:28











  • @Gilles - I do have a .zshrc file. ZSH loads fine on a TTY or when I manually run zsh. I'll get output later this evening.

    – Larry G. Wapnitsky
    Apr 20 '11 at 12:25











  • @Gilles - Oddly, it started working last night after a reboot (which I had done already).

    – Larry G. Wapnitsky
    Apr 21 '11 at 10:24






  • 1





    You probably put your settings in .zprofile or .zlogin. Short answer: you should put your settings in .zshrc or .zshenv instead.

    – Mikel
    Apr 23 '11 at 3:37











  • @Mikel - they were in .zshrc

    – Larry G. Wapnitsky
    Apr 26 '11 at 13:08













7












7








7








I've changed my login shell to zsh from bash on an installation of Debian Squeeze with XFCE. When I launch xfce4-terminal, zsh starts but does not load my configuration.










share|improve this question
















I've changed my login shell to zsh from bash on an installation of Debian Squeeze with XFCE. When I launch xfce4-terminal, zsh starts but does not load my configuration.







zsh configuration xfce






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 9 at 12:17









Rui F Ribeiro

41.9k1483142




41.9k1483142










asked Apr 19 '11 at 20:27









Larry G. WapnitskyLarry G. Wapnitsky

14814




14814




migrated from stackoverflow.com Apr 21 '11 at 14:27


This question came from our site for professional and enthusiast programmers.









migrated from stackoverflow.com Apr 21 '11 at 14:27


This question came from our site for professional and enthusiast programmers.









  • 1





    You'll have to give more information. What configuration is not being loaded? Do you get different behavior from zsh in different circumstances on the same machine? Do you have a .zshrc? Post the output of ps $$; echo $ZSH_VERSION; ls -l ~/.zshrc in that XFCE terminal.

    – Gilles
    Apr 19 '11 at 21:28











  • @Gilles - I do have a .zshrc file. ZSH loads fine on a TTY or when I manually run zsh. I'll get output later this evening.

    – Larry G. Wapnitsky
    Apr 20 '11 at 12:25











  • @Gilles - Oddly, it started working last night after a reboot (which I had done already).

    – Larry G. Wapnitsky
    Apr 21 '11 at 10:24






  • 1





    You probably put your settings in .zprofile or .zlogin. Short answer: you should put your settings in .zshrc or .zshenv instead.

    – Mikel
    Apr 23 '11 at 3:37











  • @Mikel - they were in .zshrc

    – Larry G. Wapnitsky
    Apr 26 '11 at 13:08












  • 1





    You'll have to give more information. What configuration is not being loaded? Do you get different behavior from zsh in different circumstances on the same machine? Do you have a .zshrc? Post the output of ps $$; echo $ZSH_VERSION; ls -l ~/.zshrc in that XFCE terminal.

    – Gilles
    Apr 19 '11 at 21:28











  • @Gilles - I do have a .zshrc file. ZSH loads fine on a TTY or when I manually run zsh. I'll get output later this evening.

    – Larry G. Wapnitsky
    Apr 20 '11 at 12:25











  • @Gilles - Oddly, it started working last night after a reboot (which I had done already).

    – Larry G. Wapnitsky
    Apr 21 '11 at 10:24






  • 1





    You probably put your settings in .zprofile or .zlogin. Short answer: you should put your settings in .zshrc or .zshenv instead.

    – Mikel
    Apr 23 '11 at 3:37











  • @Mikel - they were in .zshrc

    – Larry G. Wapnitsky
    Apr 26 '11 at 13:08







1




1





You'll have to give more information. What configuration is not being loaded? Do you get different behavior from zsh in different circumstances on the same machine? Do you have a .zshrc? Post the output of ps $$; echo $ZSH_VERSION; ls -l ~/.zshrc in that XFCE terminal.

– Gilles
Apr 19 '11 at 21:28





You'll have to give more information. What configuration is not being loaded? Do you get different behavior from zsh in different circumstances on the same machine? Do you have a .zshrc? Post the output of ps $$; echo $ZSH_VERSION; ls -l ~/.zshrc in that XFCE terminal.

– Gilles
Apr 19 '11 at 21:28













@Gilles - I do have a .zshrc file. ZSH loads fine on a TTY or when I manually run zsh. I'll get output later this evening.

– Larry G. Wapnitsky
Apr 20 '11 at 12:25





@Gilles - I do have a .zshrc file. ZSH loads fine on a TTY or when I manually run zsh. I'll get output later this evening.

– Larry G. Wapnitsky
Apr 20 '11 at 12:25













@Gilles - Oddly, it started working last night after a reboot (which I had done already).

– Larry G. Wapnitsky
Apr 21 '11 at 10:24





@Gilles - Oddly, it started working last night after a reboot (which I had done already).

– Larry G. Wapnitsky
Apr 21 '11 at 10:24




1




1





You probably put your settings in .zprofile or .zlogin. Short answer: you should put your settings in .zshrc or .zshenv instead.

– Mikel
Apr 23 '11 at 3:37





You probably put your settings in .zprofile or .zlogin. Short answer: you should put your settings in .zshrc or .zshenv instead.

– Mikel
Apr 23 '11 at 3:37













@Mikel - they were in .zshrc

– Larry G. Wapnitsky
Apr 26 '11 at 13:08





@Mikel - they were in .zshrc

– Larry G. Wapnitsky
Apr 26 '11 at 13:08










1 Answer
1






active

oldest

votes


















4














You changed the shell in your user profile, but since you were already logged in your environment variables had already been set and xfce4-terminal was assuming you would want to use whatever was set as your shell when the environment got initiated. If you had logged out of everything on the machine or authenticated another way like logging in with SSH, it would have worked as well.



Many terminal programs have their own preferences for what shell to launch in them. These preferences can use any program you are allowed to run as the shell, including any system authorized shells. When you authenticate against the system, the first thing it will give you is always the shell in your profile, but after that you are free to run whatever.






share|improve this answer























  • I had rebooted previously with little effect. The one magic reboot and all was working and has been since.

    – Larry G. Wapnitsky
    Apr 26 '11 at 13:08






  • 1





    In the unix world there isn't a magic reboot, one isn't different from another. Something else had to have changed in between times for the last one have the expected effect.

    – Caleb
    Apr 26 '11 at 13:14











  • yeah, i know, but i changed nothing.

    – Larry G. Wapnitsky
    Apr 26 '11 at 15:36











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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%2funix.stackexchange.com%2fquestions%2f11771%2fzsh-and-xfce4-terminal%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









4














You changed the shell in your user profile, but since you were already logged in your environment variables had already been set and xfce4-terminal was assuming you would want to use whatever was set as your shell when the environment got initiated. If you had logged out of everything on the machine or authenticated another way like logging in with SSH, it would have worked as well.



Many terminal programs have their own preferences for what shell to launch in them. These preferences can use any program you are allowed to run as the shell, including any system authorized shells. When you authenticate against the system, the first thing it will give you is always the shell in your profile, but after that you are free to run whatever.






share|improve this answer























  • I had rebooted previously with little effect. The one magic reboot and all was working and has been since.

    – Larry G. Wapnitsky
    Apr 26 '11 at 13:08






  • 1





    In the unix world there isn't a magic reboot, one isn't different from another. Something else had to have changed in between times for the last one have the expected effect.

    – Caleb
    Apr 26 '11 at 13:14











  • yeah, i know, but i changed nothing.

    – Larry G. Wapnitsky
    Apr 26 '11 at 15:36















4














You changed the shell in your user profile, but since you were already logged in your environment variables had already been set and xfce4-terminal was assuming you would want to use whatever was set as your shell when the environment got initiated. If you had logged out of everything on the machine or authenticated another way like logging in with SSH, it would have worked as well.



Many terminal programs have their own preferences for what shell to launch in them. These preferences can use any program you are allowed to run as the shell, including any system authorized shells. When you authenticate against the system, the first thing it will give you is always the shell in your profile, but after that you are free to run whatever.






share|improve this answer























  • I had rebooted previously with little effect. The one magic reboot and all was working and has been since.

    – Larry G. Wapnitsky
    Apr 26 '11 at 13:08






  • 1





    In the unix world there isn't a magic reboot, one isn't different from another. Something else had to have changed in between times for the last one have the expected effect.

    – Caleb
    Apr 26 '11 at 13:14











  • yeah, i know, but i changed nothing.

    – Larry G. Wapnitsky
    Apr 26 '11 at 15:36













4












4








4







You changed the shell in your user profile, but since you were already logged in your environment variables had already been set and xfce4-terminal was assuming you would want to use whatever was set as your shell when the environment got initiated. If you had logged out of everything on the machine or authenticated another way like logging in with SSH, it would have worked as well.



Many terminal programs have their own preferences for what shell to launch in them. These preferences can use any program you are allowed to run as the shell, including any system authorized shells. When you authenticate against the system, the first thing it will give you is always the shell in your profile, but after that you are free to run whatever.






share|improve this answer













You changed the shell in your user profile, but since you were already logged in your environment variables had already been set and xfce4-terminal was assuming you would want to use whatever was set as your shell when the environment got initiated. If you had logged out of everything on the machine or authenticated another way like logging in with SSH, it would have worked as well.



Many terminal programs have their own preferences for what shell to launch in them. These preferences can use any program you are allowed to run as the shell, including any system authorized shells. When you authenticate against the system, the first thing it will give you is always the shell in your profile, but after that you are free to run whatever.







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 21 '11 at 21:46









CalebCaleb

51.8k9150194




51.8k9150194












  • I had rebooted previously with little effect. The one magic reboot and all was working and has been since.

    – Larry G. Wapnitsky
    Apr 26 '11 at 13:08






  • 1





    In the unix world there isn't a magic reboot, one isn't different from another. Something else had to have changed in between times for the last one have the expected effect.

    – Caleb
    Apr 26 '11 at 13:14











  • yeah, i know, but i changed nothing.

    – Larry G. Wapnitsky
    Apr 26 '11 at 15:36

















  • I had rebooted previously with little effect. The one magic reboot and all was working and has been since.

    – Larry G. Wapnitsky
    Apr 26 '11 at 13:08






  • 1





    In the unix world there isn't a magic reboot, one isn't different from another. Something else had to have changed in between times for the last one have the expected effect.

    – Caleb
    Apr 26 '11 at 13:14











  • yeah, i know, but i changed nothing.

    – Larry G. Wapnitsky
    Apr 26 '11 at 15:36
















I had rebooted previously with little effect. The one magic reboot and all was working and has been since.

– Larry G. Wapnitsky
Apr 26 '11 at 13:08





I had rebooted previously with little effect. The one magic reboot and all was working and has been since.

– Larry G. Wapnitsky
Apr 26 '11 at 13:08




1




1





In the unix world there isn't a magic reboot, one isn't different from another. Something else had to have changed in between times for the last one have the expected effect.

– Caleb
Apr 26 '11 at 13:14





In the unix world there isn't a magic reboot, one isn't different from another. Something else had to have changed in between times for the last one have the expected effect.

– Caleb
Apr 26 '11 at 13:14













yeah, i know, but i changed nothing.

– Larry G. Wapnitsky
Apr 26 '11 at 15:36





yeah, i know, but i changed nothing.

– Larry G. Wapnitsky
Apr 26 '11 at 15:36

















draft saved

draft discarded
















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • 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%2funix.stackexchange.com%2fquestions%2f11771%2fzsh-and-xfce4-terminal%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

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay