Then uncomment it.
I suspect your terminal isn't a login shell. Does the
fortune(1) get printed when you open a terminal?
Code:
Invocation
If no arguments are present and if the standard input of the shell is
connected to a terminal (or if the -i option is set), the shell is
considered an interactive shell. An interactive shell generally prompts
before each command and handles programming and command errors
differently (as described below). When first starting, the shell
inspects argument 0, and if it begins with a dash (‘-’), the shell is
also considered a login shell. This is normally done automatically by
the system when the user first logs in. A login shell first reads
commands from the files /etc/profile and then .profile in a user's home
directory, if they exist. If the environment variable ENV is set on
entry to a shell, or is set in the .profile of a login shell, the shell
then subjects its value to parameter expansion and arithmetic expansion
and reads commands from the named file. Therefore, a user should place
commands that are to be executed only at login time in the .profile file,
and commands that are executed for every shell inside the ENV file. The
user can set the ENV variable to some file by placing the following line
in the file .profile in the home directory, substituting for .shrc the
filename desired:
ENV=$HOME/.shrc; export ENV
The first non-option argument specified on the command line will be
treated as the name of a file from which to read commands (a shell
script), and the remaining arguments are set as the positional parameters
of the shell ($1, $2, etc.). Otherwise, the shell reads commands from
its standard input.
Looking a little further, it looks like the standard
~/.profile sets ENV. As you have
sh(1) set as your shell it should be treated as a login shell. I normally don't use
sh(1) interactively, only for scripting, and those startup scripts always drive me nuts. Depending on how the shell is started it will run
~/.profile or ~/.shrc and I always mess those up. In your case leave
~/.profile as-is, there's no need to change it (you can find a "clean" copy in
/usr/share/skel if you messed it up).
Just create a
~/.shrc:
Code:
export PATH="$PATH:$HOME/julia-1.6.1/bin"