add misc documentation, minor fixes

whole-command-tab-completion
bretello 2020-02-14 16:37:45 +01:00
parent c233b696a6
commit 1004353081
2 changed files with 16 additions and 9 deletions

View File

@ -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) 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. Two zsh themes: brethil and brethil-minimal.
1. byobu (wrapper/config for tmux, a screen multiplexer) 1. amix's awesome vimrc (https://www.github.com/amix/vimrc). A quite nice vim rc.
2. grc/ccze (output colorizers, color output of any command). Usage: 2. byobu (wrapper/config for tmux, a screen multiplexer)
$ grc programname 3. grc/ccze (output colorizers, color output of any command). Usage:
$ 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)
$ 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 ### ### Available Functions ###
0. `cheat`, show cheat sheet for commands using cheat.sh (`cheat commandname`) 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 ### ### 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), 2. Easy names for ANSI color escapes (Black, Red, Green, Yellow, Blue, Cyan, Purple, White, CLEAR),
for example: for example:
`echo -e "${Green}This text will be green${CLEAR}"` `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) 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) 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) 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, 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`). and updates a symlink pointing (`~/.ssh/ssh_auth_sock`). `SSH_AUTH_SOCK` points to this (set in `brethil_dotfile.sh`).

View File

@ -13,6 +13,8 @@ if [[ $uname == *"Darwin"* ]]; then
fi fi
elif [[ $uname == *"ARCH"* ]]; then elif [[ $uname == *"ARCH"* ]]; then
os_extra=(archlinux systemd) os_extra=(archlinux systemd)
elif [[ $uname == *"MANJARO"* ]]; then
os_extra=(archlinux systemd)
elif [[ $uname == *"Debian"* ]]; then elif [[ $uname == *"Debian"* ]]; then
os_extra=(debian) os_extra=(debian)
fi fi