Loading .tmux/motd-shell.sh→.shell/bin/motd-shell.sh +7 −0 Original line number Diff line number Diff line #!/bin/sh cat /etc/motd /run/motd.dynamic 2>/dev/null if [ -r /run/motd.dynamic ]; then cat /run/motd.dynamic elif [ -r /run/motd ]; then cat /run/motd elif [ -r /etc/motd ]; then cat /etc/motd fi SHELL=${SHELL:-`getent passwd ${USER:-root} | cut -f7 -d:`} exec "$SHELL" -l "$@" .tmux/first-instance.conf +1 −1 Original line number Diff line number Diff line new -d -s General -n Main '~/.tmux/motd-shell.sh' new -d -s General -n Main '~/.shell/bin/motd-shell.sh' # vim:ft=tmux .tmux/personal-keys.conf +1 −1 Original line number Diff line number Diff line # "c": new window, with MotD unbind c bind c new-window '~/.tmux/motd-shell.sh' bind c new-window '~/.shell/bin/motd-shell.sh' # "S": new session with prompt and child-instance.conf settings unbind S Loading Loading
.tmux/motd-shell.sh→.shell/bin/motd-shell.sh +7 −0 Original line number Diff line number Diff line #!/bin/sh cat /etc/motd /run/motd.dynamic 2>/dev/null if [ -r /run/motd.dynamic ]; then cat /run/motd.dynamic elif [ -r /run/motd ]; then cat /run/motd elif [ -r /etc/motd ]; then cat /etc/motd fi SHELL=${SHELL:-`getent passwd ${USER:-root} | cut -f7 -d:`} exec "$SHELL" -l "$@"
.tmux/first-instance.conf +1 −1 Original line number Diff line number Diff line new -d -s General -n Main '~/.tmux/motd-shell.sh' new -d -s General -n Main '~/.shell/bin/motd-shell.sh' # vim:ft=tmux
.tmux/personal-keys.conf +1 −1 Original line number Diff line number Diff line # "c": new window, with MotD unbind c bind c new-window '~/.tmux/motd-shell.sh' bind c new-window '~/.shell/bin/motd-shell.sh' # "S": new session with prompt and child-instance.conf settings unbind S Loading