-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_bashrc
More file actions
47 lines (35 loc) · 1.17 KB
/
dot_bashrc
File metadata and controls
47 lines (35 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#
# ~/.bashrc
#
# If not running interactively, don't do anything
[[ $- != *i* ]] && return
# Random aliases and stuff
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias ip='ip --color=auto'
PS1="\n\[\033[1;32m\][\[\e]0;\u@\h: \w\a\]\u@\h:\w]\$\[\033[0m\] "
# aliases, extra env variables, etc
source ~/.bash_aliases
if [ -f ~/.secret-bashrc ]; then # secrets, e.g. OPENAI_API_KEY=sk-proj-ligma
source ~/.secret-bashrc
fi
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
export EDITOR="nvim"
# ROCm override to compile target 6800xt (I have a 6700xt)
export HSA_OVERRIDE_GFX_VERSION=10.3.0
# disable crazy ls folder highlighting
LS_COLORS=$LS_COLORS:'ow=1;34:'; export LS_COLORS
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
# Niri Compatibility extras
if [ "$XDG_CURRENT_DESKTOP" = "niri" ]; then
export _JAVA_AWT_WM_NONREPARENTING=1 # for Ghidra
fi
# bin
export PATH="$PATH:~/bin/"
# Added by LM Studio CLI (lms)
export PATH="$PATH:/home/msvc/.lmstudio/bin"
# End of LM Studio CLI section