Various Darwin updates

This commit is contained in:
Rob Watson 2021-04-08 10:53:27 +02:00
parent 2bbcc0d690
commit 67a6e89e56
5 changed files with 7 additions and 4 deletions

View File

@ -543,8 +543,8 @@ font:
# If the same trigger is assigned to multiple actions, all of them are executed
# at once.
key_bindings:
#- { key: Paste, action: Paste }
#- { key: Copy, action: Copy }
- { key: V, mods: Shift|Control, action: Paste }
- { key: C, mods: Shift|Control, action: Copy }
#- { key: L, mods: Control, action: ClearLogNotice }
#- { key: L, mods: Control, mode: ~Vi, chars: "\x0c" }
#- { key: PageUp, mods: Shift, mode: ~Alt, action: ScrollPageUp, }

View File

@ -9,6 +9,7 @@
chp = checkout -p
ci = commit
cl = clone
cltms = !sh -c 'cd $HOME/dev && git clone $1 && cd $(basename $1 .git) && tmuxsess' --
co = checkout
cp = cherry-pick
d = diff

View File

@ -5,7 +5,7 @@
set -e
if [ $(uname -s) = "Darwin" ]; then
w | head -n1 | cut -d":" -f3
uptime | grep -o "[0-9]\+\.[0-9]\+ [0-9]\+\.[0-9]\+ [0-9]\+\.[0-9]\+"
else # Linux
cut -d " " -f 1-3 /proc/loadavg
fi

View File

@ -23,7 +23,7 @@ bind-key v split-window -h
bind-key s split-window -v
bind-key p new-window \; set window-status-style fg=white,bg=red
bind-key c new-window -n 'cli'
bind-key e new-window -n 'vim'
bind-key e new-window -n 'vim' vim
bind-key C rename-window 'cli'
bind-key E rename-window 'vim'

2
zshrc
View File

@ -116,5 +116,7 @@ export PATH=$HOME/bin:$PATH
export PATH=$HOME/.local/bin:$PATH
export PATH=$HOME/script:$PATH
. $HOME/.zshrc.local
# set up asdf
. $HOME/.asdf/asdf.sh