diff --git a/alacritty.macos.yml b/alacritty.macos.yml index de68496..0689a62 100644 --- a/alacritty.macos.yml +++ b/alacritty.macos.yml @@ -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, } diff --git a/gitconfig b/gitconfig index f1d92ed..7f80629 100644 --- a/gitconfig +++ b/gitconfig @@ -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 diff --git a/script/sysinfo b/script/sysinfo index 9709bd3..ef0c147 100755 --- a/script/sysinfo +++ b/script/sysinfo @@ -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 diff --git a/tmux.conf b/tmux.conf index 5637c36..da213fa 100644 --- a/tmux.conf +++ b/tmux.conf @@ -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' diff --git a/zshrc b/zshrc index d9e6977..2538e66 100644 --- a/zshrc +++ b/zshrc @@ -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