.bashrc
This commit is contained in:
parent
90e6b3bf9b
commit
147dac1b8c
35
.bashrc
Normal file
35
.bashrc
Normal file
|
@ -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
|
Loading…
Reference in a new issue