diff options
| -rw-r--r-- | dotprofile | 29 | ||||
| -rw-r--r-- | dotzshrc | 10 |
2 files changed, 37 insertions, 2 deletions
diff --git a/dotprofile b/dotprofile new file mode 100644 index 0000000..c2671eb --- /dev/null +++ b/dotprofile @@ -0,0 +1,29 @@ +# ~/.profile: executed by the command interpreter for login shells. +# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login +# exists. +# see /usr/share/doc/bash/examples/startup-files for examples. +# the files are located in the bash-doc package. + +# the default umask is set in /etc/profile; for setting the umask +# for ssh logins, install and configure the libpam-umask package. +#umask 022 + +# if running bash +if [ -n "$BASH_VERSION" ]; then + # include .bashrc if it exists + if [ -f "$HOME/.bashrc" ]; then + . "$HOME/.bashrc" + fi +fi + +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/bin" ] ; then + PATH="$HOME/bin:$PATH" +fi + +# set PATH so it includes user's private bin if it exists +if [ -d "$HOME/.local/bin" ] ; then + PATH="$HOME/.local/bin:$PATH" +fi +source "$HOME/.cargo/env" +source "$HOME/perl5/perlbrew/etc/bashrc" @@ -17,8 +17,8 @@ export PERL_UNICODE="AS" export PERL_READLINE_NOWARN="yes" export PERL5LIB="$HOME/perl5/lib/perl5:$PERL5LIB" export PERLBREW_VERSION="5.34.0" -export PERLBREW_ROOT="$HOME/perl5/perlbrew/perls/perl-$PERLBREW_VERSION" -export PERLBREW_PATHS="$PERLBREW_ROOT/bin" +export PERLBREW_VERSION_ROOT="$HOME/perl5/perlbrew/perls/perl-$PERLBREW_VERSION" +export PERLBREW_PATHS="$PERLBREW_VERSION_ROOT/bin" # raku export RAKU_ROOT="$HOME/.raku" @@ -58,3 +58,9 @@ zstyle ':completion:*:kill:*' force-list always zstyle ':completion:*:cd:*' ignore-parents parent pwd clear; + +PATH="/home/brad/perl5/bin${PATH:+:${PATH}}"; export PATH; +PERL5LIB="/home/brad/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"; export PERL5LIB; +PERL_LOCAL_LIB_ROOT="/home/brad/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"; export PERL_LOCAL_LIB_ROOT; +PERL_MB_OPT="--install_base \"/home/brad/perl5\""; export PERL_MB_OPT; +PERL_MM_OPT="INSTALL_BASE=/home/brad/perl5"; export PERL_MM_OPT; |
