Re: not able to execute commands on tty

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I wasn't aware that environment setup shouldn't go into .bashrc, but into
.profile. Good to know, thank you!

Here's how I have it now:

#
# ~/.profile
#
path_prefixes=(
	~/.local/bin
	~/.cargo/bin
	/opt/cuda/bin
)
export PATH="$(printf "%s:" "${path_prefixes[@]}")$PATH"


#
# ~/.bash_profile
#
[[ -r ~/.profile ]] && . ~/.profile
[[ -r ~/.bashrc ]] && . ~/.bashrc



    Galdor




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux