dotfiles/.bashrc
2024-08-31 00:50:42 +02:00

36 lines
731 B
Bash

#
# ~/.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