diff options
| author | Miquel Sabaté Solà <msabate@suse.com> | 2023-08-23 09:28:12 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <msabate@suse.com> | 2023-08-23 09:28:12 +0200 |
| commit | ef4b898ce59bd09700e15048951dd8981bfef851 (patch) | |
| tree | f0f6f387ea2c0f911c7a158090e749a01b921ab1 /.bashrc | |
| parent | 7720a9fc9838b48589894b5e4b7c4cf2479e304b (diff) | |
| download | dotfiles-ef4b898ce59bd09700e15048951dd8981bfef851.tar.gz dotfiles-ef4b898ce59bd09700e15048951dd8981bfef851.zip | |
Tidying up my bashrc
Moved XDG variable into the proper user-dirs.dirs file, and ensured that
the RVM lines are on the end.
Signed-off-by: Miquel Sabaté Solà <msabate@suse.com>
Diffstat (limited to '.bashrc')
| -rw-r--r-- | .bashrc | 14 |
1 files changed, 6 insertions, 8 deletions
@@ -134,10 +134,6 @@ source_maybe "$HOME/.cargo/env" # SUSE export NODE_VERSION="14" -# Finally RVM requires it to be the last thing on the PATH for whatever reason. -[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" -export PATH="$PATH:$HOME/.rvm/bin" - ## # Lastly I had some problems with the GPG agent recently. So I copied a solution # from https://github.com/jessfraz/dotfiles @@ -165,9 +161,6 @@ alias ssh="gpg-connect-agent updatestartuptty /bye >/dev/null; ssh" alias ip="ip --color" alias ipb="ip --color --brief" -# Needed by Alacritty -export XDG_CONFIG_HOME="$HOME/.config" - # Add the binaries of Doom Emacs into my PATH. export PATH=$PATH:$HOME/.emacs.d/bin @@ -179,4 +172,9 @@ if command -v rustc &> /dev/null; then fi fi -export MB_PATH="$HOME/doc/bib" +# Yarn thingies. +export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH" + +# Finally RVM requires it to be the last thing on the PATH. +[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" +export PATH="$PATH:$HOME/.rvm/bin" |
