summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon O'Shea <soshea1@mgb.org>2026-10-08 14:05:25 -0400
committerSimon O'Shea <soshea1@mgb.org>2026-10-08 14:05:25 -0400
commit392ce66719789efd82bb6853c2dd30b7a4e34550 (patch)
tree0fa7211483886b32dbbb136e6ecc8536d35b0386
parent1bd5901f5bc5b70c684317fe590ad8d9c463a2d1 (diff)
new bashrc
-rw-r--r--.work_bashrc29
1 files changed, 29 insertions, 0 deletions
diff --git a/.work_bashrc b/.work_bashrc
new file mode 100644
index 0000000..f72549f
--- /dev/null
+++ b/.work_bashrc
@@ -0,0 +1,29 @@
+#
+# ~/.bashrc
+#
+
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
+# Prompt setup
+PS1='\n\[\033[0;37m\]--[\t]--\n\[\033[01;32m\]\w\[\033[0;37m\] \$\[\033[0;00m\] '
+
+# add handy aliases
+alias l='ls -lh --color=auto'
+alias ls='ls -h --color=auto'
+alias la='ls -lha --color=auto'
+alias grep='grep --color=auto'
+
+alias dir='dir --color=auto'
+alias vdir='vdir --color=auto'
+
+alias fgrep='fgrep --color=auto'
+alias egrep='egrep --color=auto'
+
+alias v='nvim'
+
+# Cautious deletion by default
+alias rm='rm -i'
+
+export PATH="$PATH:/usr/bin/"
+export PATH="$PATH:/c/Program Files/sf/bin/"