From 147dac1b8c9152136bf973fbfeb90f8569f9ab92 Mon Sep 17 00:00:00 2001 From: Maciej Jur Date: Sat, 31 Aug 2024 00:50:42 +0200 Subject: [PATCH] .bashrc --- .bashrc | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .bashrc diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..4aaf52a --- /dev/null +++ b/.bashrc @@ -0,0 +1,35 @@ +# +# ~/.bashrc +# + +export PATH="$PATH:$HOME/bin" + +# NodeJS +export npm_config_prefix="$HOME/.local" +export PATH="$PATH:$HOME/.local/bin" +export NODE_OPTIONS='--max-old-space-size=4096' + +# OCaml +export OPAMROOT="$HOME/.cache/opam" + +# Rust +export CARGO_HOME="$HOME/.cache/cargo" +export RUSTUP_HOME="$HOME/.cache/rustup" + +# Haskell +export GHCUP_USE_XDG_DIRS=1 +[ -f "/home/kamov/.local/share/ghcup/env" ] && . "/home/kamov/.local/share/ghcup/env" + +# If not running interactively, don't do anything +[[ $- != *i* ]] && return + +alias ls='ls --color=auto' +alias grep='grep --color=auto' +PS1='[\u@\h \W]\$ ' + +# Configure GPG +# This is needed to sign git commits +export GPG_TTY=$(tty) + +# We start fish as a replacement for bash shell +exec fish