From 9625c1ac088e6cddc45620d7933ff78b67c85bc4 Mon Sep 17 00:00:00 2001 From: khoahuynhdev Date: Mon, 29 Jul 2024 13:29:41 +0000 Subject: [PATCH 01/14] feat: add script to install zsh and oh-my-zsh unattendedly --- install-zsh.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 install-zsh.sh diff --git a/install-zsh.sh b/install-zsh.sh new file mode 100755 index 0000000..2550498 --- /dev/null +++ b/install-zsh.sh @@ -0,0 +1,10 @@ +#! /usr/bin/bash + +set -euo pipefail + +set -x + +sudo apt-get update && sudo apt-get install zsh -y + +sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended + From e3d4feeeae2d26003c57972b07827036be9d5358 Mon Sep 17 00:00:00 2001 From: khoahuynhdev Date: Mon, 29 Jul 2024 13:34:01 +0000 Subject: [PATCH 02/14] feat: add script to install spaceship promp --- install-zsh-theme-spaceship.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 install-zsh-theme-spaceship.sh diff --git a/install-zsh-theme-spaceship.sh b/install-zsh-theme-spaceship.sh new file mode 100755 index 0000000..bfe3d0d --- /dev/null +++ b/install-zsh-theme-spaceship.sh @@ -0,0 +1,11 @@ +#! /usr/bin/bash + +set -x + +echo "cloning spaceship promp..." +git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1 + +echo "symlink..." +ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme" + +echo "success νΊ€" From f7771aa7c825a8faf858f6650f46a9c37d2a538f Mon Sep 17 00:00:00 2001 From: khoahuynhdev Date: Mon, 29 Jul 2024 13:35:46 +0000 Subject: [PATCH 03/14] chore: update success msg --- install-zsh-theme-spaceship.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-zsh-theme-spaceship.sh b/install-zsh-theme-spaceship.sh index bfe3d0d..f6689fc 100755 --- a/install-zsh-theme-spaceship.sh +++ b/install-zsh-theme-spaceship.sh @@ -8,4 +8,4 @@ git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/ echo "symlink..." ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme" -echo "success νΊ€" +echo "success!" From 9fc146dad085dc02fdf6c12eb71851f5e98c5a05 Mon Sep 17 00:00:00 2001 From: khoahuynhdev Date: Mon, 29 Jul 2024 15:50:04 +0000 Subject: [PATCH 04/14] feat: add install asdf script --- install-asdf.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 install-asdf.sh diff --git a/install-asdf.sh b/install-asdf.sh new file mode 100755 index 0000000..151847d --- /dev/null +++ b/install-asdf.sh @@ -0,0 +1,4 @@ +#!/usr/bin/bash + +set -x +git clone https://github.com/asdf-vm/asdf.git ~/.asdf From 458f3ddf132a47c2bae9912f844d8e3d505d2908 Mon Sep 17 00:00:00 2001 From: khoahuynhdev Date: Mon, 29 Jul 2024 15:50:26 +0000 Subject: [PATCH 05/14] chore: update install theme script --- install-zsh-theme-spaceship.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-zsh-theme-spaceship.sh b/install-zsh-theme-spaceship.sh index f6689fc..17fa681 100755 --- a/install-zsh-theme-spaceship.sh +++ b/install-zsh-theme-spaceship.sh @@ -3,9 +3,9 @@ set -x echo "cloning spaceship promp..." -git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1 +git clone https://github.com/spaceship-prompt/spaceship-prompt.git "$ZSH/custom/themes/spaceship-prompt" --depth=1 echo "symlink..." -ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme" +ln -sf "$ZSH/custom/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH/custom/themes/spaceship.zsh-theme" echo "success!" From 91b13b1578964bbec3aab76378461e8eaef012b3 Mon Sep 17 00:00:00 2001 From: khoahuynhdev Date: Mon, 29 Jul 2024 15:51:00 +0000 Subject: [PATCH 06/14] feat: add install docker script --- install-docker.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 install-docker.sh diff --git a/install-docker.sh b/install-docker.sh new file mode 100755 index 0000000..bef4e0d --- /dev/null +++ b/install-docker.sh @@ -0,0 +1,21 @@ +#!/usr/bin/bash + +set -e +set -x + +curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg +echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | + sudo tee /etc/apt/sources.list.d/docker.list >/dev/null + +sudo apt-get update -y +apt-cache policy docker-ce +sudo apt install docker-ce + +# Limit log size to avoid running out of disk +echo '{"log-driver":"json-file","log-opts":{"max-size":"10m","max-file":"5"}}' | sudo tee /etc/docker/daemon.json + +DOCKER_COMPOSE_VERSION="2.27.0" +DOCKER_CONFIG=${DOCKER_CONFIG:-$HOME/.docker} +mkdir -p $DOCKER_CONFIG/cli-plugins +curl -sSL https://github.com/docker/compose/releases/download/v$DOCKER_COMPOSE_VERSION/docker-compose-linux-x86_64 -o $DOCKER_CONFIG/cli-plugins/docker-compose +chmod +x $DOCKER_CONFIG/cli-plugins/docker-compose From e6463121bd274be4015653d5e39a1b5b08832bee Mon Sep 17 00:00:00 2001 From: khoahuynhdev Date: Mon, 29 Jul 2024 15:55:17 +0000 Subject: [PATCH 07/14] chore: docker without sudo --- install-docker.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install-docker.sh b/install-docker.sh index bef4e0d..ad8aca0 100755 --- a/install-docker.sh +++ b/install-docker.sh @@ -10,6 +10,8 @@ echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docke sudo apt-get update -y apt-cache policy docker-ce sudo apt install docker-ce +# append current user to group docker +sudo usermod -aG docker ${USER} # Limit log size to avoid running out of disk echo '{"log-driver":"json-file","log-opts":{"max-size":"10m","max-file":"5"}}' | sudo tee /etc/docker/daemon.json From 30df5f9c824daaf0358407362d3197bee1aeeb56 Mon Sep 17 00:00:00 2001 From: khoahuynhdev Date: Fri, 2 Aug 2024 10:18:52 +0000 Subject: [PATCH 08/14] chore: cleanup --- zsh/.zshrc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index e9b9119..f9a5324 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -103,6 +103,7 @@ SAVEHIST=5000 # Example format: plugins=(rails git textmate ruby lighthouse) # Add wisely, as too many plugins slow down shell startup. plugins=( + asdf tmux git npm @@ -159,12 +160,5 @@ fi # [[ /usr/local/bin/kubectl ]] && source <(kubectl completion zsh) # complete -F __start_kubectl -#. /usr/local/opt/asdf/libexec/asdf.sh -. "$HOME/.asdf/asdf.sh" -# append completions to fpath -fpath=(${ASDF_DIR}/completions $fpath) # initialise completions with ZSH's compinit autoload -Uz compinit && compinit - - -source "/home/khoahd/.oh-my-zsh/custom/themes/spaceship.zsh-theme" From 95825f67ef6620fab46b01ce1dde5cdd7bd7462e Mon Sep 17 00:00:00 2001 From: khoahuynhdev Date: Fri, 2 Aug 2024 10:34:56 +0000 Subject: [PATCH 09/14] feat: add script to install tmux --- install-tmux.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 install-tmux.sh diff --git a/install-tmux.sh b/install-tmux.sh new file mode 100755 index 0000000..49a643e --- /dev/null +++ b/install-tmux.sh @@ -0,0 +1,18 @@ +#!/usr/bin/bash + +set -e +set -x +sudo apt-get install -y tmux + +# start a server but don't attach to it +tmux start-server +# create a new session but don't attach to it either +tmux new-session -d + +# https://github.com/tmux-plugins/tpm/issues/6 +# add sleep 1 before calling install_plugins.sh to wait for tmux server launch +sleep 1 +# install the plugins +~/.tmux/plugins/tpm/scripts/install_plugins.sh +# killing the server is not required, I guess +tmux kill-server From 8d53bb9bf72bb0db8a47ff65b76e3c68c325f4fe Mon Sep 17 00:00:00 2001 From: khoahuynhdev Date: Fri, 2 Aug 2024 10:35:19 +0000 Subject: [PATCH 10/14] feat: init with default branch main --- git/.gitconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/git/.gitconfig b/git/.gitconfig index 602d6e3..a72a37e 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -80,3 +80,5 @@ old = red bold new = green bold whitespace = red reverse +[init] + defaultBranch = main From 49c2d554d2e4262506a9866ba50e53abc7d8de1b Mon Sep 17 00:00:00 2001 From: khoahuynhdev Date: Fri, 2 Aug 2024 10:38:03 +0000 Subject: [PATCH 11/14] chore: remove failed workflow, may setup later --- .github/workflows/scanning.yml | 14 ----------- .github/workflows/workflow.yml | 44 ---------------------------------- 2 files changed, 58 deletions(-) delete mode 100644 .github/workflows/scanning.yml delete mode 100644 .github/workflows/workflow.yml diff --git a/.github/workflows/scanning.yml b/.github/workflows/scanning.yml deleted file mode 100644 index 6511fd4..0000000 --- a/.github/workflows/scanning.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: Scan repo workflow -on: [push, pull_request] -jobs: - my-job: - name: ci scan job - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@master - - name: Cyber Sierra Github CI Scan - uses: cyber-sierra/cybersierra-scanning-workflow@v0.0.5 - env: - CS_API_TOKEN: "${{ secrets.CS_API_TOKEN }}" - CS_SCAN_URL: "https://scanner-api.prod.eks.cybersierra.ai" diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml deleted file mode 100644 index 2542aaf..0000000 --- a/.github/workflows/workflow.yml +++ /dev/null @@ -1,44 +0,0 @@ -# This is a basic workflow to help you get started with Actions - -name: CI - -# Controls when the action will run. Triggers the workflow on push or pull request -# events but only for the master branch -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - -# A workflow run is made up of one or more jobs that can run sequentially or in parallel -jobs: - # This workflow contains a single job called "build" - build: - # The type of runner that the job will run on - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [macos-11, macos-10.15] - - # Steps represent a sequence of tasks that will be executed as part of the job - steps: - # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 - - - name: Log github_repository - run: echo "Current Repository is $GITHUB_SERVER_URL/$GITHUB_REPOSITORY" - - # check shell, env, etc - - name: Check versions of pre-installed software/system - run: sw_vers; echo $HOME; - - # Runs a set of commands using the runners shell - - name: Execute full install - run: ./bootstrap.sh - - - name: symlink and config - run: ./config.sh - - # Print out result - - name: test post-shell script - run: echo Done! From 304e24428f6ca129ac8a2e99459cedc885cba59f Mon Sep 17 00:00:00 2001 From: khoahuynhdev Date: Fri, 2 Aug 2024 10:38:19 +0000 Subject: [PATCH 12/14] chore: sync lazy --- nvim/lazy-lock.json | 64 ++++++++++++++++++++++----------------------- nvim/lazyvim.json | 4 +-- 2 files changed, 33 insertions(+), 35 deletions(-) diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index ff7195c..30cd68e 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -1,59 +1,57 @@ { - "LazyVim": { "branch": "main", "commit": "9eefc6a3aaeb1a0742e676ba32c6963d649d3ca9" }, - "LuaSnip": { "branch": "master", "commit": "ce0a05ab4e2839e1c48d072c5236cce846a387bc" }, - "SchemaStore.nvim": { "branch": "main", "commit": "2580d32172f66fa37c0e57fb14e1b5bc94ed9e15" }, - "bufferline.nvim": { "branch": "main", "commit": "aa16dafdc642594c7ade7e88d31a6119feb189d6" }, - "catppuccin": { "branch": "main", "commit": "7946d1a195c66fed38b3e34f9fa8e0c5a2da0700" }, + "LazyVim": { "branch": "main", "commit": "12818a6cb499456f4903c5d8e68af43753ebc869" }, + "LuaSnip": { "branch": "master", "commit": "7552e6504ee95a9c8cfc6db53e389122ded46cd4" }, + "SchemaStore.nvim": { "branch": "main", "commit": "a86e7a0ecaf09fdb0b58ca09f34cd1e2b2b1fd75" }, + "bufferline.nvim": { "branch": "main", "commit": "0b2fd861eee7595015b6561dade52fb060be10c4" }, + "catppuccin": { "branch": "main", "commit": "10eda02ea4faa7d1f94e77a3410a4ae91c25c5f5" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, "cmp-emoji": { "branch": "main", "commit": "e8398e2adf512a03bb4e1728ca017ffeac670a9f" }, "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, - "cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" }, - "conform.nvim": { "branch": "master", "commit": "310e2e95a4f832163f3f7a9fedebb1a4afc0db69" }, + "conform.nvim": { "branch": "master", "commit": "25d48271e3d4404ba017cb92a37d3a681c1ad149" }, "dressing.nvim": { "branch": "master", "commit": "6741f1062d3dc6e4755367a7e9b347b553623f04" }, - "flash.nvim": { "branch": "main", "commit": "25ba3f4d1e0b080213b39518ebcfbb693a23c957" }, + "flash.nvim": { "branch": "main", "commit": "34c7be146a91fec3555c33fe89c7d643f6ef5cf1" }, "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, - "gitsigns.nvim": { "branch": "main", "commit": "f4928ba14eb6c667786ac7d69927f6aee6719f1e" }, + "gitsigns.nvim": { "branch": "main", "commit": "0ed466953fe5885166e0d60799172a8b1f752d16" }, + "grug-far.nvim": { "branch": "main", "commit": "724b8019fcfeee51dcc6e76c543eba30b5570a26" }, "indent-blankline.nvim": { "branch": "master", "commit": "65e20ab94a26d0e14acac5049b8641336819dfc7" }, - "lazy.nvim": { "branch": "main", "commit": "b02c9eae6a250f98908c146d1dc1a891f5019f0a" }, - "lazydev.nvim": { "branch": "main", "commit": "02f1055a777264d4b65896051ec28d0f322f7932" }, + "lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }, + "lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" }, "lualine.nvim": { "branch": "master", "commit": "544dd1583f9bb27b393f598475c89809c4d5e86b" }, "luvit-meta": { "branch": "main", "commit": "ce76f6f6cdc9201523a5875a4471dcfe0186eb60" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "37a336b653f8594df75c827ed589f1c91d91ff6c" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "ba9c2f0b93deb48d0a99ae0e8d8dd36f7cc286d6" }, "mason-nvim-dap.nvim": { "branch": "main", "commit": "4ba55f9755ebe8297d92c419b90a946123292ae6" }, "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, "mini.ai": { "branch": "main", "commit": "45587078f323eaf41b9f701bbc04f8d1ab008979" }, - "mini.comment": { "branch": "main", "commit": "080f00bb91fea4bab799820bd2ce835a88d0703a" }, - "mini.icons": { "branch": "main", "commit": "9d9d21868841ce0a26fb2b8ef0eba7021055145c" }, + "mini.icons": { "branch": "main", "commit": "fe63fe080e76d80713557e5f0c65bc15b14b152d" }, "mini.pairs": { "branch": "main", "commit": "927d19cbdd0e752ab1c7eed87072e71d2cd6ff51" }, "mini.starter": { "branch": "main", "commit": "394994b2bec10a997c69575825d5c444957b9ff9" }, "neo-tree.nvim": { "branch": "main", "commit": "206241e451c12f78969ff5ae53af45616ffc9b72" }, - "neodev.nvim": { "branch": "main", "commit": "46aa467dca16cf3dfe27098042402066d2ae242d" }, - "noice.nvim": { "branch": "main", "commit": "90844cfdf8c1d2edcb2e56c21e2724e7c6ea4c41" }, - "none-ls.nvim": { "branch": "main", "commit": "2870f66b1cb263f6e0bfffdb089739b874343a3a" }, + "noice.nvim": { "branch": "main", "commit": "448bb9c524a7601035449210838e374a30153172" }, + "none-ls.nvim": { "branch": "main", "commit": "cfa65d86e21eeb60544d5e823f6db43941322a53" }, "nui.nvim": { "branch": "main", "commit": "61574ce6e60c815b0a0c4b5655b8486ba58089a1" }, - "nvim-cmp": { "branch": "main", "commit": "d818fd0624205b34e14888358037fb6f5dc51234" }, - "nvim-dap": { "branch": "master", "commit": "6f79b822997f2e8a789c6034e147d42bc6706770" }, - "nvim-dap-go": { "branch": "main", "commit": "3999f0744e80d2dba5775189fc7c7a5e9846053e" }, + "nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" }, + "nvim-dap": { "branch": "master", "commit": "dcc85d12d6e2c18c5fa0f9a304d9f5e767e1401a" }, + "nvim-dap-go": { "branch": "main", "commit": "5030d53097fed7b75524a04048d8dbf417fa0140" }, "nvim-dap-ui": { "branch": "master", "commit": "a5606bc5958db86f8d92803bea7400ee26a8d7e4" }, "nvim-dap-virtual-text": { "branch": "master", "commit": "484995d573c0f0563f6a66ebdd6c67b649489615" }, "nvim-lint": { "branch": "master", "commit": "efc6fc83f0772283e064c53a8f9fb5645bde0bc0" }, - "nvim-lspconfig": { "branch": "master", "commit": "01e08d4bf1c35e5126b2ad5209725e4c552289ab" }, + "nvim-lspconfig": { "branch": "master", "commit": "d710f5c58d3b4b010504472d58752d5cef115d99" }, "nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" }, "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, - "nvim-spectre": { "branch": "master", "commit": "9a28f926d3371b7ef02243cbbb653a0478d06e31" }, - "nvim-treesitter": { "branch": "master", "commit": "14dff71d381737f29df9a6e5335e16d3d9815309" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "34867c69838078df7d6919b130c0541c0b400c47" }, - "nvim-ts-autotag": { "branch": "main", "commit": "1624866a1379fc1861797f0ed05899a9c1d2ff61" }, - "nvim-ts-context-commentstring": { "branch": "main", "commit": "6b5f95aa4d24f2c629a74f2c935c702b08dbde62" }, - "one-small-step-for-vimkind": { "branch": "main", "commit": "730189c92c6fd80eb92bb6c1886392a142dba273" }, - "persistence.nvim": { "branch": "main", "commit": "40a137dd9240c9c6760c53df48d2b155f52c252b" }, + "nvim-snippets": { "branch": "main", "commit": "56b4052f71220144689caaa2e5b66222ba5661eb" }, + "nvim-treesitter": { "branch": "master", "commit": "8453015093ae156f1776d2c913b6c5206e80e26f" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "3eb733685e1aa64a26e8b46220d855fb6a0e9e46" }, + "nvim-ts-autotag": { "branch": "main", "commit": "dc5e1687ab76ee02e0f11c5ce137f530b36e98b3" }, + "one-small-step-for-vimkind": { "branch": "main", "commit": "2820e4c2c6d3dadab1cbdf6dd1e57cac7ed89fb3" }, + "persistence.nvim": { "branch": "main", "commit": "f6aad7dde7fcf54148ccfc5f622c6d5badd0cc3d" }, "plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" }, "symbols-outline.nvim": { "branch": "master", "commit": "564ee65dfc9024bdde73a6621820866987cbb256" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "cf48d4dfce44e0b9a2e19a008d6ec6ea6f01a83b" }, - "telescope.nvim": { "branch": "master", "commit": "bfcc7d5c6f12209139f175e6123a7b7de6d9c18a" }, - "todo-comments.nvim": { "branch": "main", "commit": "96fee098a90e7c09c9811aa7df71d773ba8b9b53" }, - "tokyonight.nvim": { "branch": "main", "commit": "6adfcde66e8af2f22dd5d76060980abd8daa0df8" }, - "trouble.nvim": { "branch": "main", "commit": "bf99ea71a39e322336b7f8be965f86dbf5c65540" }, - "which-key.nvim": { "branch": "main", "commit": "4390015b265adf69cf3e344cc13167539f732b2f" } + "telescope.nvim": { "branch": "master", "commit": "3b1600d0fd5172ad9fae00987362ca0ef3d8895d" }, + "todo-comments.nvim": { "branch": "main", "commit": "8f45f353dc3649cb9b44cecda96827ea88128584" }, + "tokyonight.nvim": { "branch": "main", "commit": "b0e7c7382a7e8f6456f2a95655983993ffda745e" }, + "trouble.nvim": { "branch": "main", "commit": "6efc446226679fda0547c0fd6a7892fd5f5b15d8" }, + "ts-comments.nvim": { "branch": "main", "commit": "98d7d4dec0af1312d38e288f800bbf6ff562b6ab" }, + "which-key.nvim": { "branch": "main", "commit": "6c1584eb76b55629702716995cca4ae2798a9cca" } } diff --git a/nvim/lazyvim.json b/nvim/lazyvim.json index a2c31b6..81f5c9e 100644 --- a/nvim/lazyvim.json +++ b/nvim/lazyvim.json @@ -4,7 +4,7 @@ "lazyvim.plugins.extras.dap.nlua" ], "news": { - "NEWS.md": "6077" + "NEWS.md": "6520" }, "version": 6 -} +} \ No newline at end of file From d55ba4c9a6cf7084568ab173a00da3096990235b Mon Sep 17 00:00:00 2001 From: khoahuynhdev Date: Mon, 5 Aug 2024 04:40:16 +0000 Subject: [PATCH 13/14] chore: sync lazy.lock --- nvim/lazy-lock.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index 30cd68e..31c4675 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -3,7 +3,7 @@ "LuaSnip": { "branch": "master", "commit": "7552e6504ee95a9c8cfc6db53e389122ded46cd4" }, "SchemaStore.nvim": { "branch": "main", "commit": "a86e7a0ecaf09fdb0b58ca09f34cd1e2b2b1fd75" }, "bufferline.nvim": { "branch": "main", "commit": "0b2fd861eee7595015b6561dade52fb060be10c4" }, - "catppuccin": { "branch": "main", "commit": "10eda02ea4faa7d1f94e77a3410a4ae91c25c5f5" }, + "catppuccin": { "branch": "main", "commit": "ba5f4153a5dad99505baba936bd0373534400ac3" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, "cmp-emoji": { "branch": "main", "commit": "e8398e2adf512a03bb4e1728ca017ffeac670a9f" }, "cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" }, @@ -12,15 +12,15 @@ "dressing.nvim": { "branch": "master", "commit": "6741f1062d3dc6e4755367a7e9b347b553623f04" }, "flash.nvim": { "branch": "main", "commit": "34c7be146a91fec3555c33fe89c7d643f6ef5cf1" }, "friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" }, - "gitsigns.nvim": { "branch": "main", "commit": "0ed466953fe5885166e0d60799172a8b1f752d16" }, - "grug-far.nvim": { "branch": "main", "commit": "724b8019fcfeee51dcc6e76c543eba30b5570a26" }, + "gitsigns.nvim": { "branch": "main", "commit": "58bd9e98d8e3c5a1c98af312e85247ee1afd3ed2" }, + "grug-far.nvim": { "branch": "main", "commit": "3e491ca05c50f87d02543adb010aed9dfb1e12c1" }, "indent-blankline.nvim": { "branch": "master", "commit": "65e20ab94a26d0e14acac5049b8641336819dfc7" }, "lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" }, "lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" }, "lualine.nvim": { "branch": "master", "commit": "544dd1583f9bb27b393f598475c89809c4d5e86b" }, "luvit-meta": { "branch": "main", "commit": "ce76f6f6cdc9201523a5875a4471dcfe0186eb60" }, - "mason-lspconfig.nvim": { "branch": "main", "commit": "ba9c2f0b93deb48d0a99ae0e8d8dd36f7cc286d6" }, - "mason-nvim-dap.nvim": { "branch": "main", "commit": "4ba55f9755ebe8297d92c419b90a946123292ae6" }, + "mason-lspconfig.nvim": { "branch": "main", "commit": "62360f061d45177dda8afc1b0fd1327328540301" }, + "mason-nvim-dap.nvim": { "branch": "main", "commit": "8b9363d83b5d779813cdd2819b8308651cec2a09" }, "mason.nvim": { "branch": "main", "commit": "e2f7f9044ec30067bc11800a9e266664b88cda22" }, "mini.ai": { "branch": "main", "commit": "45587078f323eaf41b9f701bbc04f8d1ab008979" }, "mini.icons": { "branch": "main", "commit": "fe63fe080e76d80713557e5f0c65bc15b14b152d" }, @@ -36,14 +36,14 @@ "nvim-dap-ui": { "branch": "master", "commit": "a5606bc5958db86f8d92803bea7400ee26a8d7e4" }, "nvim-dap-virtual-text": { "branch": "master", "commit": "484995d573c0f0563f6a66ebdd6c67b649489615" }, "nvim-lint": { "branch": "master", "commit": "efc6fc83f0772283e064c53a8f9fb5645bde0bc0" }, - "nvim-lspconfig": { "branch": "master", "commit": "d710f5c58d3b4b010504472d58752d5cef115d99" }, + "nvim-lspconfig": { "branch": "master", "commit": "e6528f4613c8db2e04be908eb2b5886d63f62a98" }, "nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" }, "nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" }, "nvim-snippets": { "branch": "main", "commit": "56b4052f71220144689caaa2e5b66222ba5661eb" }, - "nvim-treesitter": { "branch": "master", "commit": "8453015093ae156f1776d2c913b6c5206e80e26f" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "3eb733685e1aa64a26e8b46220d855fb6a0e9e46" }, + "nvim-treesitter": { "branch": "master", "commit": "d7353a6b72008b38aa873ace49aa97bea257941b" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "d45a1150580745a1905d74185b544af3ea6f709d" }, "nvim-ts-autotag": { "branch": "main", "commit": "dc5e1687ab76ee02e0f11c5ce137f530b36e98b3" }, - "one-small-step-for-vimkind": { "branch": "main", "commit": "2820e4c2c6d3dadab1cbdf6dd1e57cac7ed89fb3" }, + "one-small-step-for-vimkind": { "branch": "main", "commit": "7ec237f828fafcbf9bf7675059a753a1bc114fdb" }, "persistence.nvim": { "branch": "main", "commit": "f6aad7dde7fcf54148ccfc5f622c6d5badd0cc3d" }, "plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" }, "symbols-outline.nvim": { "branch": "master", "commit": "564ee65dfc9024bdde73a6621820866987cbb256" }, From 03f3872f1fe369cbabed23063dfe3043d4ae94f3 Mon Sep 17 00:00:00 2001 From: khoahuynhdev Date: Mon, 5 Aug 2024 04:40:22 +0000 Subject: [PATCH 14/14] feat: install fzf --- install-fzf.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 install-fzf.sh diff --git a/install-fzf.sh b/install-fzf.sh new file mode 100755 index 0000000..e45a1b5 --- /dev/null +++ b/install-fzf.sh @@ -0,0 +1,5 @@ +#!/usr/bin/bash + +set -e +set -x +sudo apt-get install fzf -y