David Blume commited on 2020-06-23 13:32:45
Showing 2 changed files, with 13 additions and 1 deletions.
| ... | ... |
@@ -52,6 +52,7 @@ alias grep='grep --color=auto' |
| 52 | 52 |
alias fgrep='fgrep --color=auto' |
| 53 | 53 |
alias egrep='egrep --color=auto' |
| 54 | 54 |
alias vim-='vim +"setl buftype=nofile" -' |
| 55 |
+alias tmux='tmux -2' |
|
| 55 | 56 |
|
| 56 | 57 |
# colored GCC warnings and errors |
| 57 | 58 |
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' |
| ... | ... |
@@ -88,7 +89,8 @@ md() {
|
| 88 | 89 |
} |
| 89 | 90 |
|
| 90 | 91 |
concept() {
|
| 91 |
- apropos -s 7 . | awk '!/iso|latin/ {print $1}' | shuf -n 1 | xargs man 7
|
|
| 92 |
+ # apropos -s 7 . | awk '!/iso|latin/ {print $1}' | shuf -n 1 | xargs man 7
|
|
| 93 |
+ apropos -s 7 . | awk '!/iso|latin/ {print $1}' | shuf -n 1 | pee "xargs echo man 7" "xargs man 7"
|
|
| 92 | 94 |
} |
| 93 | 95 |
|
| 94 | 96 |
# https://unix.stackexchange.com/questions/1288/preserve-bash-history-in-multiple-terminal-windows |
| ... | ... |
@@ -0,0 +1,10 @@ |
| 1 |
+set -g status-utf8 on |
|
| 2 |
+set -g status-keys vi |
|
| 3 |
+set -g status-fg white |
|
| 4 |
+set -g status-bg colour235 |
|
| 5 |
+set -g status-left-length 20 |
|
| 6 |
+set -g status-left '#[fg=green][#S]#[default]' |
|
| 7 |
+set -g status-justify centre |
|
| 8 |
+set -g status-right '#[fg=green]%m/%d %H:%M#[default]' |
|
| 9 |
+setw -g window-status-current-format '#[fg=yellow]#I:#F#T#[default]' |
|
| 10 |
+setw -g window-status-format '#I:#F#W' |
|
| 0 | 11 |