Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #243914

bashrc problem

From Yamadaえりな <yamoerina@gmail.com>
Newsgroups linux.debian.user
Subject bashrc problem
Date 2022-01-12 12:50 +0100
Message-ID <DEKiB-8bM-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello list

I have a .bashrc file in my home dir, whose content is shown as follows.

But every time I log into the system, I have to source this file by hand.

$ which scala
/usr/bin/scala

$ cat .bashrc
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source
"$HOME/.sdkman/bin/sdkman-init.sh"

$ . .bashrc
$ which scala
/home/xxx/.sdkman/candidates/scala/current/bin/scala


How can I make it take effect automatically after I login the system?

ありがとう
Yamada

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

bashrc problem Yamadaえりな <yamoerina@gmail.com> - 2022-01-12 12:50 +0100
  Re: bashrc problem Will Mengarini <seldon@eskimo.com> - 2022-01-12 13:20 +0100
    Re: bashrc problem Yamadaえりな <yamoerina@gmail.com> - 2022-01-12 13:20 +0100
      Re: bashrc problem Will Mengarini <seldon@eskimo.com> - 2022-01-12 13:30 +0100
        Re: bashrc problem Yamadaえりな <yamoerina@gmail.com> - 2022-01-12 13:40 +0100

csiph-web