aboutsummaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-10 18:36:22 -0400
committeriamcheeseman <[email protected]>2026-05-10 18:36:22 -0400
commit8e5173a2d25c8f79607f4806016276065abda41c (patch)
treebe4cfd1d2c7589d85b44f55ea8a966cb3bf3d776 /.bashrc
parentf0bf896d1372c69d8ad7889564a28168954d8123 (diff)
update
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc23
1 files changed, 23 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
new file mode 100644
index 0000000..f3e804f
--- /dev/null
+++ b/.bashrc
@@ -0,0 +1,23 @@
+# .bashrc
+
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
+export PATH=$PATH:~/.local/bin
+export XDG_RUNTIME_DIR=/tmp/runtime_$(whoami)
+export VISUAL=vim
+export EDITOR="$VISUAL"
+
+mkdir -p $XDG_RUNTIME_DIR
+
+alias ls='ls --color=auto'
+alias grep='grep --color=auto'
+alias gentag='ctags -R .'
+
+# Windows does ONE thing right
+alias md='mkdir'
+
+# Coincidentally, nearly the exact prompt I wanted was on the Arch wiki...
+GREEN="\[$(tput setaf 10)\]"
+RESET="\[$(tput sgr0)\]"
+PS1="${GREEN}\w${RESET}>"