This file contains hidden or 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
#!/bin/bash | |
SESSION=tmux_test | |
tmux -2 new-session -d -s $SESSION | |
# Setup Window 1 | |
tmux new-window -t $SESSION:1 -n 'Logs' | |
tmux split-window -h | |
tmux select-pane -t 0 | |
tmux send-keys "tail -f /var/log/lastlog" C-m |
This file contains hidden or 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
;; Melpa Package Manager (requires Emacs >= 24.1) | |
;; Originally pointed to http://melpa.milkbox.net/packages/ | |
;; Without this M-x package-refresh-contents fails on most installations | |
(if (and (>= emacs-major-version 24) | |
(>= emacs-minor-version 1)) | |
(progn | |
(require 'package) | |
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) | |
) | |
) |