summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/"