Created
March 22, 2010 12:14
-
-
Save poppen/340027 to your computer and use it in GitHub Desktop.
.mkshrc.diff
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /tmp/dot.mkshrc 2010-03-22 21:11:22.000000000 +0900 | |
+++ ./dot.mkshrc 2010-03-22 21:05:28.000000000 +0900 | |
@@ -5,6 +5,7 @@ | |
: ${EDITOR:=/bin/ed} ${TERM:=vt100} ${HOSTNAME:=$(ulimit -c 0;hostname -s 2>&-)} | |
[[ $HOSTNAME = @(localhost|*([ ])) ]] && HOSTNAME=$(ulimit -c 0;hostname 2>&-) | |
: ${HOSTNAME:=nil}; if (( USER_ID )); then PS1='$'; else PS1='#'; fi | |
+: ${HISTFILE:=~/.mksh_history} | |
function precmd { | |
typeset -i e=$? | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment