fix typos

This commit is contained in:
2022-03-03 23:08:02 +01:00
parent 76c1e7462e
commit bc8c3a8339
2 changed files with 2 additions and 2 deletions

View File

@@ -18,6 +18,6 @@ if hugo version &> /dev/null; then
alias hubu='hugo -v --cleanDestinationDir --gc --minify'
fi
if git --verison ; then
if git --version &> /dev/null; then
alias git-root='cd "$(git rev-parse --show-toplevel)"'
fi

View File

@@ -15,7 +15,7 @@ set -g status-justify centre # center align window list
set -g status-left-length 20
set -g status-right-length 140
set -g status-left '#H • #[default]'
set -g status-right '#(tmux-mem-cpu-load --interval 1) • #(uptime | awk -F"(up )|," '{print $2}') • %a %H:%M:%S #[default] %Y-%m-%d'
set -g status-right '#(tmux-mem-cpu-load --interval 1) • #(uptime | sed -E "s/.+up +//;s/,.+//") • %a %H:%M:%S #[default] %Y-%m-%d'
# Try screen256-color (https://github.com/tmux/tmux/issues/622):
if-shell "test '\( #{$TMUX_VERSION_MAJOR} -eq 2 -a #{$TMUX_VERSION_MINOR} -ge 6 \)'" 'set -g default-terminal "screen-256color"'