diff --git a/.config/nvim/lua/blake/settings.lua b/.config/nvim/lua/blake/settings.lua index 69e14c6..113c177 100644 --- a/.config/nvim/lua/blake/settings.lua +++ b/.config/nvim/lua/blake/settings.lua @@ -40,6 +40,8 @@ set.ruler = false set.listchars = 'trail:~,tab:│ ,nbsp:␣,lead:·,extends:…,precedes:…' set.list = false set.mousemodel = 'extend' +set.exrc = true +set.secure = true -- Disable smartindent when editing `nix` files autocmd("BufEnter", { pattern = "*.nix", callback = function() vim.opt_local.smartindent = false end }) diff --git a/.config/shell/bin/how b/.config/shell/bin/how new file mode 100755 index 0000000..b9a2d8a --- /dev/null +++ b/.config/shell/bin/how @@ -0,0 +1,3 @@ +#!/bin/sh +test $# -gt 0 && where="$1" && shift +IFS='+' eval 'curl "https://cht.sh/${where:-}/$*"' diff --git a/.config/shell/bin/upd b/.config/shell/bin/upd index 325cf06..b9242da 100755 --- a/.config/shell/bin/upd +++ b/.config/shell/bin/upd @@ -27,7 +27,7 @@ g() { git -C "$REPO" "$@"; } REPO_ABBR='echo ${REPO/"$HOME"/"~"}' # `git pull` everything mentioned in the REPOS_TO_UPDATE variable -IFS=: read -ra REPOS_TO_UPDATE_ARR <<< "${REPOS_TO_UPDATE:-}:${DOCS_DIR:-}:$HOME/bin:${NIXOS_DIR:-}:$HOME/code/faust-ideas:$HOME/.config/home-manager" +IFS=: read -ra REPOS_TO_UPDATE_ARR <<< "${REPOS_TO_UPDATE:-}:${DOCS_DIR:-}:$HOME/bin:${NIXOS_DIR:-}:$HOME/code/faust-ideas:$HOME/.config/home-manager:$HOME/code/nixvim-config" for REPO in "${REPOS_TO_UPDATE_ARR[@]}"; do if [ -n "$REPO" ]; then if g rev-parse > /dev/null 2>&1; then diff --git a/.config/shell/bin/vvc b/.config/shell/bin/vvc new file mode 100755 index 0000000..5581dfc --- /dev/null +++ b/.config/shell/bin/vvc @@ -0,0 +1,4 @@ +#!/bin/sh + +cd "$(dirname "$(realpath "$1")")" +eval "$EDITOR" "$@" diff --git a/.config/shell/local/env b/.config/shell/local/env new file mode 100644 index 0000000..8129a59 --- /dev/null +++ b/.config/shell/local/env @@ -0,0 +1,4 @@ +export REPOS_TO_UPDATE="/home/blake/Documents/pwp" +export PATH="$HOME/.local/share/bottles/runners/wine-ge-proton8-14/bin:$PATH" + +# vim:ft=bash diff --git a/.config/shell/p10k/current b/.config/shell/p10k/current new file mode 120000 index 0000000..22a37a4 --- /dev/null +++ b/.config/shell/p10k/current @@ -0,0 +1 @@ +/home/blake/.config/shell/p10k/colorful-angular.p10k.zsh \ No newline at end of file