aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Linskey2026-05-05 16:56:45 -0400
committerBenjamin Linskey2026-05-05 21:37:23 -0400
commitf03777be3858c674ddc1e77a71ef3446b9743808 (patch)
tree69593282c7e4f94a39e674bb5a087769a7ed42d5
parent886bec350e7d84aebc5be54783a94a5d8980ec0a (diff)
downloaddotfiles-f03777be3858c674ddc1e77a71ef3446b9743808.tar.gz

Consolidate shell rc files

-rw-r--r--.kshrc13
-rw-r--r--.profile8
-rw-r--r--.shrc4
3 files changed, 3 insertions, 22 deletions
diff --git a/.kshrc b/.kshrc
deleted file mode 100644
index 94f651e..0000000
--- a/.kshrc
+++ /dev/null
@@ -1,13 +0,0 @@
-# .kshrc -- ksh configuration file
-#
-# To use this file, specify its location in the ENV paramater in ~/.profile:
-#
-# export ENV=$HOME/.kshrc
-
-HISTFILE=
-
-PS1="\h:\w\\$ "
-
-if [ -f "$HOME/.aliases" ]; then
- . "$HOME/.aliases"
-fi
diff --git a/.profile b/.profile
index 8e2724d..1683b17 100644
--- a/.profile
+++ b/.profile
@@ -9,13 +9,7 @@ fi
export PATH="$HOME/bin:$PATH"
-if [ "$SHELL" = /bin/sh ]; then
- export ENV="$HOME"/.shrc
-elif [ "$SHELL" = /bin/ksh ]; then
- export ENV="$HOME"/.kshrc
-elif [ "$SHELL" = /bin/bash ]; then
- . "$HOME/.bashrc"
-fi
+export ENV="$HOME"/.shrc
export LC_CTYPE=en_US.UTF-8
diff --git a/.shrc b/.shrc
index 724f347..46a4f2d 100644
--- a/.shrc
+++ b/.shrc
@@ -1,6 +1,6 @@
-PS1="\h:\w\\$ "
+HISTFILE=
-set -o vi
+PS1="\h:\w\\$ "
if [ -f "$HOME/.aliases" ]; then
. "$HOME/.aliases"