From 10043530811df0d00e6926764b13e86a9735e1af Mon Sep 17 00:00:00 2001 From: bretello Date: Fri, 14 Feb 2020 16:37:45 +0100 Subject: [PATCH] add misc documentation, minor fixes --- README.md | 23 ++++++++++++++--------- brethil_dotfile.sh | 2 ++ 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 3130a47..949a039 100644 --- a/README.md +++ b/README.md @@ -26,14 +26,17 @@ by the install script. The self-update routine can be called manually by calling 0. oh-my-zsh (zsh config framework, lots of plugins available at https://github.com/robbyrussell/oh-my-zsh/wiki/Plugins) Two zsh themes: brethil and brethil-minimal. -1. byobu (wrapper/config for tmux, a screen multiplexer) -2. grc/ccze (output colorizers, color output of any command). Usage: - $ grc programname - $ programname | ccze -3. bmon (bandwidth monitor, shows graphs for bandwith usage) -4. rmate remote for Textmate (can be called with `mate`/`rmate`) -5. mtr (my traceroute, traceroute+ping network utility) +1. amix's awesome vimrc (https://www.github.com/amix/vimrc). A quite nice vim rc. +2. byobu (wrapper/config for tmux, a screen multiplexer) +3. grc/ccze (output colorizers, color output of any command). Usage: + $ grc cmd + $ cmd | ccze + +4. bmon (bandwidth monitor, shows graphs for bandwith usage) +5. rmate remote for Textmate (can be called with `mate`/`rmate`) +6. mtr (my traceroute, traceroute+ping network utility) +7. htop (better top) ### Available Functions ### 0. `cheat`, show cheat sheet for commands using cheat.sh (`cheat commandname`) @@ -71,13 +74,15 @@ on a by-host basis in `~/.ssh/config`) ### Misc ### -1. Colored output (via `grc`) for: `diff`, `configure`, `make`, `gcc`, `g`, `as`, `gas`, `ld`, `netstat`, `ping`, `traceroute`, `head`, `tail`, `dig`, `mount`, `ps`, `mtr` +1. Colored output (via `grc`) for several commands. 2. Easy names for ANSI color escapes (Black, Red, Green, Yellow, Blue, Cyan, Purple, White, CLEAR), for example: + `echo -e "${Green}This text will be green${CLEAR}"` + will result in green text. Use `$CLEAR` to clear previous escape sequences add B before the variable (check colors.sh) name to use **bold** and U to underline (examples: $BRed, $UBlack for bold red and underlined black) -3. Type `esc` twice to add `sudo` before the current command +3. Type `esc` twice to add `sudo` before the current command (oh-my-zsh's `sudo` plugin) 4. Autoupdate script running every two weeks, autoupdate function: dotfiles_selfupdate (or `git pull` from `$DOTFILES` folder) 5. Automatic fix of the `SSH_AUTH_SOCK` enviroment variable: `~/.ssh/rc` is installed run on every ssh login, and updates a symlink pointing (`~/.ssh/ssh_auth_sock`). `SSH_AUTH_SOCK` points to this (set in `brethil_dotfile.sh`). diff --git a/brethil_dotfile.sh b/brethil_dotfile.sh index 0539519..44b1170 100755 --- a/brethil_dotfile.sh +++ b/brethil_dotfile.sh @@ -13,6 +13,8 @@ if [[ $uname == *"Darwin"* ]]; then fi elif [[ $uname == *"ARCH"* ]]; then os_extra=(archlinux systemd) +elif [[ $uname == *"MANJARO"* ]]; then + os_extra=(archlinux systemd) elif [[ $uname == *"Debian"* ]]; then os_extra=(debian) fi