aboutsummaryrefslogtreecommitdiff
path: root/shell/conf
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2021-09-05 00:23:41 -0400
committerMitchell Riedstra <mitch@riedstra.dev>2021-09-05 00:23:41 -0400
commit27ac56f3af62474cb4e69728541e551c0c5dd4a4 (patch)
tree4fece6e169320bdfa8b2fc90fc629285520fcb0f /shell/conf
parent319ac2aec7787ae500eb3ff84020b7ca3e149298 (diff)
downloaddotfiles-27ac56f3af62474cb4e69728541e551c0c5dd4a4.tar.gz
dotfiles-27ac56f3af62474cb4e69728541e551c0c5dd4a4.tar.xz
Major updates to my shell configuration
Diffstat (limited to 'shell/conf')
-rw-r--r--shell/conf75
1 files changed, 0 insertions, 75 deletions
diff --git a/shell/conf b/shell/conf
deleted file mode 100644
index 4931758..0000000
--- a/shell/conf
+++ /dev/null
@@ -1,75 +0,0 @@
-
-SHELL_CONFIG=".mkshrc"
-COLOR=0
-case "$TERM" in
- xterm*) COLOR=1;;
- *256color) COLOR=1;;
-esac
-
-export EDITORS="ed vi vim "
-export PATH="$HOME/bin:$PATH"
-
-UPDATE_URL="https://git.riedstra.dev/mitch/dotfiles/plain/"
-VIM_GIT_URL="https://git.riedstra.dev/mitch/vim-cfg"
-VIM_BASIC_URL="https://git.riedstra.dev/mitch/dotfiles/plain/vimrc"
-
-PRELOAD="$HOME/${SHELL_CONFIG}.pre"
-LOCAL="$HOME/${SHELL_CONFIG}.local"
-
-# Don't put any variables below this, as they can't be overridden before the
-# functions if you do that
-
-# Load pre config
-if [ -e "$PRELOAD" ] ; then
- #shellcheck disable=SC1090
- . "$PRELOAD"
-fi
-
-set_pager
-
-# note that the use of set_editor and _set_editor on oksh may
-# change the input mode. ( set -o emacs ) after to go back
-set_editor
-# set_go
-
-export PASSWORD_STORE_ENABLE_EXTENSIONS=true
-
-setaliases
-setsudoaliases
-
-# checkSSHAgent
-
-
-# Support various different shells
-if [ -n "$KSH_VERSION" ] ; then
- export HISTFILE="$HOME/.ksh_history"
- export HISTSIZE=10000
-
- set -o emacs
- bind ^L=clear-screen
- #shellcheck disable=SC2155
- # export PS1="$(whoami)@$(hostname) \$PWD \$ "
- export PS1="$(whoami)@$(hostname)\$ "
-elif [ "$SHELL" = "/bin/sh" ] && [ "$(uname)" = "FreeBSD" ] ; then
- set -o emacs
- #shellcheck disable=SC2155
- export PS1="$(whoami)"'@\h:\w \$ '
-elif [ -n "$BASH" ] ; then
- HISTFILE="$HOME/.bash_history"
- HISTSIZE=10000
- HISTFILESIZE=10000
- shopt -s histappend
- export PROMPT_COMMAND="history -a; history -c; history -r"
-fi
-
-if [ $COLOR -eq 1 ] ; then
- colormanpages
- setcolorterminal
- setcoloraliases
- setlscolors
-fi
-
-# Include local configuration options
-if [ -f "$LOCAL" ] ; then
- . "$LOCAL"
-fi