diff options
-rwxr-xr-x | sysinfo | 18 | ||||
-rwxr-xr-x | vimpager | 2 |
2 files changed, 15 insertions, 5 deletions
@@ -1,6 +1,16 @@ -#!/bin/sh +#!/bin/zsh +BLUE="\e[1;34m" +NC="\e[0m" + clear cat /etc/motd -inxi -CGINSx -echo -en "${BLUE}Uptime:$NC" ; uptime -pydf +echo +echo -e "${BLUE}Host:${NC} $(hostname)" +echo -e "${BLUE}Uptime:$NC ${${$(uptime)%%,*}##*up }, ${$(</proc/loadavg)% *}" + +if [ -x /usr/bin/fortune ]; then + echo + /usr/bin/fortune -s + echo +fi + @@ -23,7 +23,7 @@ less_vim() { -c 'set scrolloff=999' \ -c 'runtime! macros/less.vim' \ -c 'set foldlevel=999' \ - -c 'set mouse=h' \ + -c 'set mouse=a' \ -c 'set nonu' \ -c 'nmap <ESC>u :nohlsearch<cr>' \ "${@:--}" |