diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml index c382fdb..f9620a9 100644 --- a/alacritty/alacritty.yml +++ b/alacritty/alacritty.yml @@ -29,9 +29,9 @@ window: # Number of lines/columns (not pixels) in the terminal. The number of columns # must be at least `2`, while using a value of `0` for columns and lines will # fall back to the window manager's recommended size. - #dimensions: - # columns: 0 - # lines: 0 + dimensions: + columns: 210 + lines: 65 # Window position (changes require restart) # @@ -152,7 +152,7 @@ font: #style: Bold Italic # Point size - size: 10.0 + size: 8.0 # Offset is the extra space around each character. `offset.y` can be thought # of as modifying the line spacing, and `offset.x` as modifying the letter diff --git a/nvim/init.vim b/nvim/init.vim index fee07e9..f7d79c5 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -86,7 +86,6 @@ Plug 'rust-lang/rust.vim' Plug 'danilo-augusto/vim-afterglow' Plug 'vim-scripts/TaskList.vim' Plug 'google/vim-jsonnet' -Plug 'github/copilot.vim' call plug#end() diff --git a/ssh/config b/ssh/config index 6fd0e1e..e11ecc9 100644 --- a/ssh/config +++ b/ssh/config @@ -9,6 +9,7 @@ Host git.lawsnote.com HostName git.lawsnote.com Host dev + User jay HostName 192.168.200.15 Host vpn diff --git a/zprofile b/zprofile index a92794b..f7caf6f 100644 --- a/zprofile +++ b/zprofile @@ -77,3 +77,30 @@ if [ -f '/Users/jay/apps/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/jay/ap alias docker="lima nerdctl" export DOCKER_HOST="unix:///Users/jay/.lima/docker/sock/docker.sock" + +function ln-image-tags { + if [ -z "$1" ]; then + echo "usage: ln-image-tags " + exit 1 + fi + + curlie -L https://registry.lawsnote.com/v2/$1/tags/list +} + +function ln-save-image { + if [ -z "$1" ]; then + echo "usage: ln-save-image " + exit 1 + fi + + docker-save --rm -p -o . -i registry.lawsnote.com/$1 +} + +function minio-size { + if [ -z "$1" ]; then + echo "usage: minio-size " + exit 1 + fi + + mc ls -r --json $1 | jq -s 'map(.size) | add' | numfmt --to=iec-i --suffix=B --padding=7 +}