How to apply the changes to my `.zshrc` file after edit?Terminal does not source .zshrc with custom colors...

Piece-drop Mate #3

Why did so many MPs not vote in Meaningful Vote 3?

Spoken encryption

How to avoid unconsciously copying the style of my favorite writer?

What is the fate of sulfur in cysteine when it participates in gluconeogenesis?

How do campaign rallies gain candidates votes?

Trapped in an ocean Temple in Minecraft?

This message is flooding my syslog, how to find where it comes from?

Why are so many countries still in the Commonwealth?

Can the 2019 UA Artificer's Returning Weapon and Radiant Weapon infusions stack on the same weapon?

How to start an application when a specific disk is mounted

Unethical behavior : should I report it?

Is there anything wrong with Thrawn?

TSA asking to see cell phone

How can I prevent corporations from growing their own workforce?

Did the IBM PC use the 8088's NMI line?

Writing a clean implementation of Rock, Paper, Scissors game in c++

What is the difference between 1/3, 1/2, and full casters?

Terence Tao–type books in other fields?

What's the difference between 2a and 10a charging options?

Send a single HTML email from Thunderbird, overriding the default "plain text" setting

Why was Sauron preparing for war instead of trying to find the ring?

How to deal with a player who makes bad characters and kills them?

Heisenberg uncertainty principle in daily life



How to apply the changes to my `.zshrc` file after edit?


Terminal does not source .zshrc with custom colors for ls and cd commandCMake fetch failed on FreeBSD when installing KDevelopStop zsh from completing parent directoriesDefine paths zsh autocomplete usesHow to disable oh-my-zsh features only in PyCharm terminalUse colon as filename separator in zsh tab completionzsh PATH variable not properly set from another environment variablerc scripts for multiple Zope instances in FreeBSDFreeBSD: How do you use auditd for logging when files and folders are opened, read, moved, deleted or modified?Safe secure way to locate a file in FreeBSD?






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







0















I just edited the .zshrc file to configure my zsh on FreeBSD.



For example, updating the PATH system variable:



path+=/usr/local/openjdk12/bin


How do I make the changes take effect?



Must I logout and login again? Is there a way to immediately run that file?










share|improve this question

























  • You could source it, but then that would only run it again. i.e. if there were deleted lines from the old .zshrc, then they wouldn't be "erased" from the session. Is there a problem with logging out and in again? You only need to do it for the terminal session, not the whole DE.

    – Sparhawk
    29 mins ago











  • @Sparhawk If logging in & out is the common approach, post that as an Answer and I will accept it.

    – Basil Bourque
    8 mins ago


















0















I just edited the .zshrc file to configure my zsh on FreeBSD.



For example, updating the PATH system variable:



path+=/usr/local/openjdk12/bin


How do I make the changes take effect?



Must I logout and login again? Is there a way to immediately run that file?










share|improve this question

























  • You could source it, but then that would only run it again. i.e. if there were deleted lines from the old .zshrc, then they wouldn't be "erased" from the session. Is there a problem with logging out and in again? You only need to do it for the terminal session, not the whole DE.

    – Sparhawk
    29 mins ago











  • @Sparhawk If logging in & out is the common approach, post that as an Answer and I will accept it.

    – Basil Bourque
    8 mins ago














0












0








0








I just edited the .zshrc file to configure my zsh on FreeBSD.



For example, updating the PATH system variable:



path+=/usr/local/openjdk12/bin


How do I make the changes take effect?



Must I logout and login again? Is there a way to immediately run that file?










share|improve this question
















I just edited the .zshrc file to configure my zsh on FreeBSD.



For example, updating the PATH system variable:



path+=/usr/local/openjdk12/bin


How do I make the changes take effect?



Must I logout and login again? Is there a way to immediately run that file?







zsh freebsd rc






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 21 mins ago









muru

42.6k5 gold badges105 silver badges178 bronze badges




42.6k5 gold badges105 silver badges178 bronze badges










asked 40 mins ago









Basil BourqueBasil Bourque

5114 silver badges16 bronze badges




5114 silver badges16 bronze badges













  • You could source it, but then that would only run it again. i.e. if there were deleted lines from the old .zshrc, then they wouldn't be "erased" from the session. Is there a problem with logging out and in again? You only need to do it for the terminal session, not the whole DE.

    – Sparhawk
    29 mins ago











  • @Sparhawk If logging in & out is the common approach, post that as an Answer and I will accept it.

    – Basil Bourque
    8 mins ago



















  • You could source it, but then that would only run it again. i.e. if there were deleted lines from the old .zshrc, then they wouldn't be "erased" from the session. Is there a problem with logging out and in again? You only need to do it for the terminal session, not the whole DE.

    – Sparhawk
    29 mins ago











  • @Sparhawk If logging in & out is the common approach, post that as an Answer and I will accept it.

    – Basil Bourque
    8 mins ago

















You could source it, but then that would only run it again. i.e. if there were deleted lines from the old .zshrc, then they wouldn't be "erased" from the session. Is there a problem with logging out and in again? You only need to do it for the terminal session, not the whole DE.

– Sparhawk
29 mins ago





You could source it, but then that would only run it again. i.e. if there were deleted lines from the old .zshrc, then they wouldn't be "erased" from the session. Is there a problem with logging out and in again? You only need to do it for the terminal session, not the whole DE.

– Sparhawk
29 mins ago













@Sparhawk If logging in & out is the common approach, post that as an Answer and I will accept it.

– Basil Bourque
8 mins ago





@Sparhawk If logging in & out is the common approach, post that as an Answer and I will accept it.

– Basil Bourque
8 mins ago










0






active

oldest

votes














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%2f532548%2fhow-to-apply-the-changes-to-my-zshrc-file-after-edit%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 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%2f532548%2fhow-to-apply-the-changes-to-my-zshrc-file-after-edit%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

Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...