diff options
-rwxr-xr-x | once/install.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/once/install.sh b/once/install.sh index 3706c57..cbdd52b 100755 --- a/once/install.sh +++ b/once/install.sh @@ -1,5 +1,14 @@ #!/bin/sh +if [ $# = 1 ]; then + case "$1" in + --output=*) + exec 1>${1#*=} + exec 2>&1 + ;; + esac +fi + export PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' export HOME=/home/midipix |