From c7b4cdaa1615c95469f19aed2e6257cd8c17df7a Mon Sep 17 00:00:00 2001 From: Cullum Smith Date: Fri, 28 Jun 2024 13:12:53 -0400 Subject: initial commit --- sh/.shrc | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 sh/.shrc (limited to 'sh') 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 -- cgit v1.2.3