diff options
author | Óscar Nájera <hi@oscarnajera.com> | 2022-05-05 13:39:10 +0200 |
---|---|---|
committer | Óscar Nájera <hi@oscarnajera.com> | 2022-05-05 13:39:10 +0200 |
commit | 8bc67e4f75e23e62667918a7629ad531b47923b5 (patch) | |
tree | 13b21b3b4f087414e0f27f373c5d5d6bc843260b | |
parent | 1c0a9b1273d37a79a70136af2e3223a6e2502d69 (diff) | |
download | dotfiles-8bc67e4f75e23e62667918a7629ad531b47923b5.tar.gz dotfiles-8bc67e4f75e23e62667918a7629ad531b47923b5.tar.bz2 dotfiles-8bc67e4f75e23e62667918a7629ad531b47923b5.zip |
Install rust paths
-rw-r--r-- | home-dots/dot-bash_profile | 6 | ||||
-rw-r--r-- | home-dots/dot-bashrc | 5 | ||||
-rw-r--r-- | home-dots/dot-profile | 1 |
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" |