aboutsummaryrefslogtreecommitdiff
path: root/ksh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-06-27 09:36:51 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-06-27 09:36:51 +1200
commite821cd82714b5218baa7123387a1cc792546fb73 (patch)
tree8b2bc7590c4744674f64d5802abc86056f22a982 /ksh
parent7061c9394180c556aab154ad876f4acc81d60236 (diff)
downloaddotfiles-e821cd82714b5218baa7123387a1cc792546fb73.tar.gz
dotfiles-e821cd82714b5218baa7123387a1cc792546fb73.zip
Inline some switch cases
Diffstat (limited to 'ksh')
-rw-r--r--ksh/kshrc.d/prompt.ksh4
1 files changed, 1 insertions, 3 deletions
diff --git a/ksh/kshrc.d/prompt.ksh b/ksh/kshrc.d/prompt.ksh
index 866cf79e..c5f3ee1b 100644
--- a/ksh/kshrc.d/prompt.ksh
+++ b/ksh/kshrc.d/prompt.ksh
@@ -30,9 +30,7 @@ function prompt {
(*'MIRBSD KSH'*) ksh=mksh ;;
esac
case ${SHELL##*/} in
- ('') ;;
- (ksh) ;;
- ("$ksh") ;;
+ (''|ksh|"$ksh") ;;
(*) PS1=$ksh:$PS1 ;;
esac