aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--home-dots/dot-bash_profile6
-rw-r--r--home-dots/dot-bashrc5
-rw-r--r--home-dots/dot-profile1
3 files changed, 9 insertions, 3 deletions
diff --git a/home-dots/dot-bash_profile b/home-dots/dot-bash_profile
new file mode 100644
index 0000000..aeac56a
--- /dev/null
+++ b/home-dots/dot-bash_profile
@@ -0,0 +1,6 @@
+#
+# ~/.bash_profile
+#
+
+[[ -f ~/.bashrc ]] && . ~/.bashrc
+. "$HOME/.cargo/env"
diff --git a/home-dots/dot-bashrc b/home-dots/dot-bashrc
index 14c0fff..963fbec 100644
--- a/home-dots/dot-bashrc
+++ b/home-dots/dot-bashrc
@@ -67,9 +67,8 @@ alias lar='ls -lahrt'
alias emacs='TERM=xterm-direct emacs'
alias mykeys='setxkbmap -I$HOME/.config/xkb/ oscar -option caps:escape -print | xkbcomp -I$HOME/.config/xkb/ - $DISPLAY'
-# export PATH="$HOME/.cargo/bin:$PATH"
-if [ -e "$HOME/.nix-profile/etc/profile.d/nix.sh" ]; then . "$HOME/.nix-profile/etc/profile.d/nix.sh"; fi # added by Nix installer
-[ -f "$HOME/.ghcup/env" ] && source "$HOME/.ghcup/env" # ghcup-env
+[ -f "$HOME/.ghcup/env" ] && source "$HOME/.ghcup/env" # ghcup-env
+source "$HOME/.cargo/env"
GUIX_PROFILE="$HOME/.guix-profile" && [ -e "$GUIX_PROFILE" ] && . "$GUIX_PROFILE/etc/profile" && export GUIX_LOCPATH=$GUIX_PROFILE/lib/locale
GUIX_PROFILE="$HOME/.config/guix/current" && [ -e "$GUIX_PROFILE" ] && . "$GUIX_PROFILE/etc/profile"
# export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs"
diff --git a/home-dots/dot-profile b/home-dots/dot-profile
new file mode 100644
index 0000000..c2f3182
--- /dev/null
+++ b/home-dots/dot-profile
@@ -0,0 +1 @@
+. "$HOME/.cargo/env"