It’s zsh (is that the default on a macOS Catalina, think so)
No .profile
.zshrc is there:


# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/Users/kuku/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> 
/dev/null)"
if [ $? -eq 0 ]; then
    eval "$__conda_setup"
else
    if [ -f "/Users/kuku/anaconda3/etc/profile.d/conda.sh" ]; then
        . "/Users/kuku/anaconda3/etc/profile.d/conda.sh"
    else
        export PATH="/Users/kuku/anaconda3/bin:$PATH"
    fi
fi
unset __conda_setup
# <<< conda initialize <<<


Find the followingat beginning of my .bash_profile (does .bash_profile have 
impact on zsh? seems so):


# added by Anaconda3 5.0.1 installer
export PATH="/Users/kuku/anaconda3/bin:$PATH"

##
# Your previous /Users/kuku/.bash_profile file was backed up as 
/Users/kuku/.bash_profile.macports-saved_2018-06-23_at_08:25:54
##

# MacPorts Installer addition on 2018-06-23_at_08:25:54: adding an appropriate 
PATH variable for use with MacPorts.
export PATH="/opt/local/bin:/opt/local/sbin:$PATH"
# Finished adapting your PATH environment variable for use with MacPorts.


—
Christoph


> Am 07.05.2020 um 09:55 schrieb Dominik Reichardt <[email protected]>:
> 
> 
> Maybe it's still there but the PATH variable changed. Check your .profile and 
> to make sure look at /opt/local/bin
> 
> On Thu, May 7, 2020 at 09:39, Christoph Kukulies <[email protected] 
> <mailto:[email protected]>> wrote:
>> 
>> Funny, suddenly I can’t do any longer 
>> 
>> sudo ports selfupdate
>> 
>> kuku@Christophs-MBP ~ % sudo port selfupdate
>> Password:
>> sudo: port: command not found
>> kuku@Christophs-MBP ~ % 
>> 
>> I can’t remember having uninstalled macports.
>> 
>> —
>> Christoph
>> 
> 
> 

Reply via email to