1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-21 19:11:30 +01:00

add misc documentation, minor fixes

This commit is contained in:
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)
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`).

View File

@ -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