summaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorCullum Smith <cullum@sacredheartsc.com>2024-06-28 13:12:53 -0400
committerCullum Smith <cullum@sacredheartsc.com>2024-06-28 13:13:44 -0400
commitc7b4cdaa1615c95469f19aed2e6257cd8c17df7a (patch)
treec53d6baca8233eda927a4a0038e6dbceab922f4f /sh
downloaddotfiles-c7b4cdaa1615c95469f19aed2e6257cd8c17df7a.tar.gz
initial commit
Diffstat (limited to 'sh')
-rw-r--r--sh/.shrc25
1 files changed, 25 insertions, 0 deletions
diff --git a/sh/.shrc b/sh/.shrc
new file mode 100644
index 0000000..ee2d5ac
--- /dev/null
+++ b/sh/.shrc
@@ -0,0 +1,25 @@
+reset=$'\e[0m'
+blue=$'\e[1;94m'
+green=$'\e[0;32m'
+PS1="\[${green}\]\u@\h\[${reset}\]:\[${blue}\]\W\[${green}\]\$\[${reset}\] "
+unset reset blue green
+
+export CLICOLOR=1
+export PAGER=less
+export LESS='-iMRS -x2'
+export EDITOR=vim
+export LSCOLORS=DxfxgxgxcxxbxbaCacADAd
+
+alias ls='ls -FHh'
+alias ll='ls -l'
+alias la='ls -la'
+alias ..='cd ..'
+alias ...='cd ../..'
+alias mkdir='mkdir -p'
+alias df='df -h'
+alias du='du -ch'
+
+bind ^[[A ed-search-prev-history
+bind ^[[B ed-search-next-history
+bind "\\e[1;5C" em-next-word
+bind "\\e[1;5D" ed-prev-word