From 365318c89358d8b9e16894bcb76eb6693c609eaa Mon Sep 17 00:00:00 2001 From: Ted Kulp Date: Sat, 14 Oct 2023 14:49:08 -0400 Subject: [PATCH] chore: more stuff --- .Brewfile | 206 ------- .config/lvim/after/ftplugin/telekasten.lua | 1 - .config/lvim/config.lua | 618 --------------------- .config/nvim | 1 + .gitconfig | 4 +- .gitmodules | 3 + .ssh/config | 2 + .zshrc | 132 ----- 8 files changed, 8 insertions(+), 959 deletions(-) delete mode 100644 .Brewfile delete mode 100644 .config/lvim/after/ftplugin/telekasten.lua delete mode 100644 .config/lvim/config.lua create mode 160000 .config/nvim create mode 100644 .ssh/config delete mode 100644 .zshrc diff --git a/.Brewfile b/.Brewfile deleted file mode 100644 index a4ee1f9..0000000 --- a/.Brewfile +++ /dev/null @@ -1,206 +0,0 @@ -tap "boltops-tools/software" -tap "cutzenfriend/cmdg" -tap "gjbae1212/gossm" -tap "hmarr/tap" -tap "homebrew/bundle" -tap "homebrew/cask" -tap "homebrew/cask-fonts" -tap "homebrew/cask-versions" -tap "homebrew/core" -tap "osx-cross/arm" -tap "osx-cross/avr" -tap "qmk/qmk" -tap "tsub/s3-edit" -tap "turbot/tap" -tap "warrensbox/tap" -brew "ack" -brew "amazon-ecs-cli" -brew "asciinema" -brew "gdbm" -brew "readline" -brew "xz" -brew "autojump" -brew "automake" -brew "autossh" -brew "awscli" -brew "bash" -brew "bat" -brew "bison" -brew "blueutil" -brew "libffi" -brew "glib" -brew "cairo" -brew "cheat" -brew "consul" -brew "coreutils" -brew "ctop" -brew "dos2unix" -brew "erlang" -brew "elixir" -brew "exa" -brew "expect" -brew "fasd" -brew "fd" -brew "gobject-introspection" -brew "harfbuzz" -brew "ffmpeg" -brew "ffsend" -brew "findutils" -brew "fnm" -brew "fpp" -brew "fzf" -brew "gdk-pixbuf" -brew "gh" -brew "git" -brew "git-extras" -brew "git-plus" -brew "pinentry" -brew "gnupg" -brew "go" -brew "goreleaser" -brew "pango" -brew "librsvg" -brew "graphviz" -brew "grep" -brew "grpc" -brew "handbrake" -brew "hasura-cli" -brew "helm" -brew "helmfile" -brew "htop" -brew "hub" -brew "imagemagick" -brew "jq" -brew "keokeishiya/formulae/skhd", restart_service: :changed -brew "keokeishiya/formulae/yabai", restart_service: :changed -brew "krew" -brew "kubectx" -brew "lazygit" -brew "libyaml" -brew "lynx" -brew "markdown" -brew "mas" -brew "minikube" -brew "mkvtoolnix" -brew "mongosh" -brew "mono" -brew "mosh" -brew "most" -brew "mysql" -brew "mysql@5.7" -brew "neovim", args: ["HEAD"] -brew "nmap" -brew "nnn" -brew "nvm" -brew "openjdk" -brew "pandoc" -brew "pillow" -brew "pinentry-mac" -brew "ranger" -brew "rbenv" -brew "rclone" -brew "reattach-to-user-namespace" -brew "redis" -brew "ripgrep" -brew "ruby-build" -brew "rustup-init" -brew "showkey" -brew "speedtest-cli" -brew "starship" -brew "stylua" -brew "teensy_loader_cli" -brew "terraform-ls" -brew "thefuck" -brew "the_platinum_searcher" -brew "the_silver_searcher" -brew "tldr" -brew "tmux" -brew "tmux-xpanes" -brew "tmuxinator", link: false -brew "tmuxinator-completion", link: false -brew "tree" -brew "ttyrec" -brew "urlview" -brew "vault" -brew "vim" -brew "wallpaper" -brew "wget" -brew "whalebrew" -brew "yadm" -brew "youtube-dl" -brew "yq" -brew "z" -brew "zk" -brew "zoxide" -brew "zsh" -brew "zsh-syntax-highlighting" -brew "gjbae1212/gossm/gossm" -brew "qmk/qmk/qmk" -brew "tsub/s3-edit/s3-edit" -brew "turbot/tap/steampipe" -brew "warrensbox/tap/tfswitch" -cask "1password" -cask "1password-cli" -cask "adobe-creative-cloud" -cask "alfred" -cask "amethyst" -cask "anki" -cask "arduino" -cask "aws-vault" -cask "bartender" -cask "bettertouchtool" -cask "boop" -cask "cool-retro-term" -cask "daisydisk" -cask "dash" -cask "discord" -cask "docker" -cask "dropbox" -cask "firefox" -cask "font-fira-code-nerd-font" -cask "font-hack-nerd-font" -cask "font-noto-nerd-font" -cask "fork" -cask "google-chrome" -cask "google-drive" -cask "google-drive-file-stream" -cask "handbrake" -cask "hazel" -cask "imazing" -cask "insomnia" -cask "istat-menus" -cask "iterm2" -cask "keybase" -cask "keycastr" -cask "meld" -cask "microsoft-auto-update" -cask "microsoft-office" -cask "mongodb-compass" -cask "moom" -cask "nextcloud" -cask "ngrok" -cask "notion" -cask "obsidian" -cask "phantomjs" -cask "postman" -cask "robo-3t" -cask "session-manager-plugin" -cask "slack" -cask "spotify" -cask "superduper" -cask "swiftbar" -cask "synergy" -cask "telegram" -cask "vagrant" -cask "visual-studio-code" -cask "vlc" -cask "whatsapp" -cask "zoom" -mas "Craft", id: 1487937127 -mas "Drafts", id: 1435957248 -mas "EOBD-Facile", id: 976630793 -mas "Greenshot", id: 1103915944 -mas "Pixelmator", id: 407963104 -mas "Sequel Ace", id: 1518036000 -mas "Tailscale", id: 1475387142 -mas "Todoist", id: 585829637 diff --git a/.config/lvim/after/ftplugin/telekasten.lua b/.config/lvim/after/ftplugin/telekasten.lua deleted file mode 100644 index 21f9816..0000000 --- a/.config/lvim/after/ftplugin/telekasten.lua +++ /dev/null @@ -1 +0,0 @@ -vim.cmd("inoremap [[ :lua require('telekasten').insert_link()") diff --git a/.config/lvim/config.lua b/.config/lvim/config.lua deleted file mode 100644 index 6033c1a..0000000 --- a/.config/lvim/config.lua +++ /dev/null @@ -1,618 +0,0 @@ -local utils = require "lvim.utils" - -lvim.log.level = "warn" -lvim.colorscheme = "catppuccin" -vim.opt.clipboard = "unnamed,unnamedplus" -vim.opt.guifont = "JetBrainsMono Nerd Font Mono:h12" -vim.opt.timeoutlen = 50 - -lvim.leader = "space" -lvim.keys.normal_mode[""] = ":w" -lvim.builtin.which_key.mappings['W'] = { ":w", "Save Buffer" } -lvim.format_on_save = { - timeout = 5000, -} -lvim.builtin.lualine.options.theme = "catppuccin" -lvim.builtin.bufferline.options.show_buffer_close_icons = false -lvim.builtin.bufferline.options.numbers = "buffer_id" -lvim.builtin.bufferline.options.separator_style = "slant" - -lvim.lsp.automatic_servers_installation = false - -vim.keymap.set("n", "", "") -vim.keymap.set("i", "jj", "") -vim.keymap.set("i", "jk", "") -vim.keymap.set("i", "kj", "") -vim.opt.cursorline = true -vim.opt.relativenumber = true - -local _, actions = pcall(require, "telescope.actions") -lvim.builtin.telescope.defaults.mappings = { - -- for input mode - i = { - [""] = actions.move_selection_next, - [""] = actions.move_selection_previous, - [""] = actions.cycle_history_next, - [""] = actions.cycle_history_prev, - }, - -- for normal mode - n = { - [""] = actions.move_selection_next, - [""] = actions.move_selection_previous, - }, -} - -lvim.builtin.which_key.mappings["t"] = { - name = "+Trouble", - r = { "Trouble lsp_references", "References" }, - f = { "Trouble lsp_definitions", "Definitions" }, - d = { "Trouble document_diagnostics", "Diagnostics" }, - q = { "Trouble quickfix", "QuickFix" }, - l = { "Trouble loclist", "LocationList" }, - w = { "Trouble workspace_diagnostics", "Wordspace Diagnostics" }, -} - -lvim.builtin.which_key.mappings['w'] = { - name = "+Window", - s = { "split", "Split Horizontal" }, - v = { "vsplit", "Split Vertical" }, - c = { "close", "Close Window" }, -} - -lvim.builtin.alpha.active = true -lvim.builtin.alpha.mode = "dashboard" -lvim.builtin.notify.active = true -lvim.builtin.terminal.active = true -lvim.builtin.nvimtree.setup.view.side = "left" -lvim.builtin.nvimtree.setup.renderer.icons.show.git = false - -lvim.builtin.treesitter.ensure_installed = { - "bash", - "c", - "javascript", - "json", - "lua", - "python", - "typescript", - "tsx", - "css", - "rust", - "java", - "yaml", - "norg", -} - -lvim.builtin.treesitter.highlight.enabled = true - -lvim.plugins = { - { - "folke/tokyonight.nvim", - }, - { - "rebelot/kanagawa.nvim", - }, - { - "lunarvim/horizon.nvim", - }, - { - "luisiacc/gruvbox-baby", - branch = "main", - config = function() - vim.g.gruvbox_baby_telescope_theme = 1 - vim.g.gruvbox_baby_transparent_mode = 0 - end, - }, - { - "Mofiqul/dracula.nvim", - config = function() - vim.g.dracula_show_end_of_buffer = true - vim.g.dracula_italic_comment = true - end, - }, - { "catppuccin/nvim", - as = "catppuccin", - config = function() - require('catppuccin').setup({ - dim_inactive = { - enabled = true, - }, - integrations = { - which_key = true, - indent_blankline = { - colored_indent_levels = true, - }, - hop = true, - } - }) - end, - }, - { - "kylechui/nvim-surround", - config = function() - require("nvim-surround").setup({ - surrounds = { - -- invalid_key_behavior = function(char) - -- return { char, char } - -- end - }, - }) - end - }, - { - "andymass/vim-matchup", - event = "CursorMoved", - config = function() - vim.g.loaded_matchit = 1 - vim.g.matchup_matchparen_offscreen = { method = "popup" } - require("nvim-treesitter.configs").setup({ - matchup = { - enable = true, - }, - }) - end, - }, - { - "p00f/nvim-ts-rainbow", - event = "BufRead", - config = function() - require("nvim-treesitter.configs").setup({ - rainbow = { - enable = true, - }, - }) - end, - }, - { - "nvim-treesitter/nvim-treesitter-textobjects", - event = "BufRead", - config = function() - require("nvim-treesitter.configs").setup({ - textobjects = { - select = { - enable = true, - lookahead = true, - keymaps = { - ["af"] = "@function.outer", - ["if"] = "@function.inner", - ["ac"] = "@class.outer", - ["ic"] = "@class.inner", - ["aC"] = "@conditional.outer", - ["iC"] = "@conditional.inner", - }, - }, - swap = { - enable = true, - swap_next = { - ["ga"] = "@parameter.inner", - }, - swap_previous = { - ["gA"] = "@parameter.inner", - }, - }, - move = { - enable = true, - set_jumps = true, -- whether to set jumps in the jumplist - goto_next_start = { - ["]m"] = "@function.outer", - ["]]"] = "@class.outer", - }, - goto_next_end = { - ["]M"] = "@function.outer", - ["]["] = "@class.outer", - }, - goto_previous_start = { - ["[m"] = "@function.outer", - ["[["] = "@class.outer", - }, - goto_previous_end = { - ["[M"] = "@function.outer", - ["[]"] = "@class.outer", - }, - }, - }, - }) - end, - }, - { - "tpope/vim-repeat" - }, - { - "tpope/vim-abolish", - }, - { - "vladdoster/remember.nvim", - config = function() - require("remember").setup { - open_folds = true, - } - end, - }, - { - "lukas-reineke/indent-blankline.nvim", - event = "BufRead", - config = function() - require("indent_blankline").setup({ - filetype_exclude = { "help", "terminal", "dashboard", "lspinfo" }, - buftype_exclude = { "terminal", "dashboard", "nofile", "quickfix" }, - show_trailing_blankline_indent = false, - show_first_indent_level = false, - show_current_context = true, - show_current_context_start = true, - }) - end, - }, - { - "phaazon/hop.nvim", - event = "BufRead", - branch = "v2", - config = function() - require("hop").setup() - vim.api.nvim_set_keymap("n", "s", ":HopChar2", { silent = true }) - vim.api.nvim_set_keymap("n", "S", ":HopWord", { silent = true }) - vim.api.nvim_set_keymap("n", "f", - "lua require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.AFTER_CURSOR, current_line_only = true })" - , { silent = true }) - vim.api.nvim_set_keymap("n", "F", - "lua require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.BEFORE_CURSOR, current_line_only = true })" - , { silent = true }) - vim.api.nvim_set_keymap("n", "t", - "lua require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.AFTER_CURSOR, current_line_only = true, hint_offset = -1 })" - , { silent = true }) - vim.api.nvim_set_keymap("n", "T", - "lua require'hop'.hint_char1({ direction = require'hop.hint'.HintDirection.BEFORE_CURSOR, current_line_only = true, hint_offset = -1 })" - , { silent = true }) - end, - }, - { - "windwp/nvim-spectre", - event = "BufRead", - config = function() - require("spectre").setup() - lvim.builtin.which_key.mappings["sS"] = { "lua require('spectre').open()", "Spectre Search" } - end, - }, - { - "nvim-telescope/telescope-project.nvim", - event = "BufWinEnter", - setup = function() - vim.cmd [[packadd telescope.nvim]] - end, - }, - { - "nvim-telescope/telescope-file-browser.nvim", - }, - { - "ray-x/lsp_signature.nvim", - event = "BufRead", - config = function() - require("lsp_signature").setup({}) - end, - }, - { - "folke/trouble.nvim", - cmd = "TroubleToggle", - }, - { - 'rmagatti/goto-preview', - config = function() - require('goto-preview').setup({ - default_mappings = true; - }) - end - }, - { - "editorconfig/editorconfig-vim" - }, - { - "monaqa/dial.nvim", - event = "BufRead", - config = function() - local augend = require("dial.augend") - vim.cmd [[ - nmap (dial-increment) - nmap (dial-decrement) - vmap (dial-increment) - vmap (dial-decrement) - vmap g (dial-increment-additional) - vmap g (dial-decrement-additional) - ]] - - require("dial.config").augends:register_group { - default = { - augend.integer.alias.decimal, - augend.integer.alias.hex, - augend.date.alias["%Y/%m/%d"], - augend.date.alias["%Y-%m-%d"], - augend.date.alias["%m/%d"], - augend.date.alias["%H:%M"], - augend.constant.alias.bool, - augend.constant.new { elements = { "True", "False" } }, -- Python - augend.hexcolor.new { - case = "lower", - }, - }, - } - end, - }, - { - "https://git.sr.ht/~whynothugo/lsp_lines.nvim", - config = function() - require("lsp_lines").setup() - vim.diagnostic.config { virtual_lines = false, virtual_text = true } - end, - }, - { - "chaoren/vim-wordmotion", - config = function() - vim.cmd("let g:wordmotion_prefix = ','") - end, - }, - { - 'christianrondeau/vim-base64', - config = function() - vim.cmd("let g:vim_base64_disable_default_key_mappings = 1") - end - }, - { - 'b0o/incline.nvim', - config = function() - require('incline').setup() - end, - }, - { - "stevearc/dressing.nvim", - }, - { - "ziontee113/icon-picker.nvim", - config = function() - require("icon-picker") - - vim.keymap.set("i", "", "PickEverythingInsert", { noremap = true, silent = true }) -- opt-i on Mac - end, - }, - { - "nvim-neorg/neorg", - config = function() - require('neorg').setup { - load = { - ["core.defaults"] = {}, - ["core.norg.concealer"] = {}, - ["core.norg.completion"] = { - config = { - engine = "nvim-cmp", - }, - }, - } - } - - vim.list_extend(lvim.builtin.cmp.sources, { - { name = "neorg" }, - }) - end, - requires = "nvim-lua/plenary.nvim", - }, - { - "renerocksai/telekasten.nvim", - config = function() - local home = vim.fn.expand("~/zk") - require('telekasten').setup({ - home = home, - dailies = home .. '/' .. 'daily', - weeklies = home .. '/' .. 'weekly', - templates = home .. '/' .. 'templates', - image_subdir = "img", - extension = ".norg", - new_note_filename = "uuid-title", - auto_set_filetype = false, - }) - - lvim.builtin.which_key.mappings["Z"] = { - name = "+Telekasten", - f = { "lua require('telekasten').find_notes()", "Find Notes" }, - g = { "lua require('telekasten').search_notes()", "Search Notes" }, - T = { "lua require('telekasten').goto_today()", "Goto Today" }, - W = { "lua require('telekasten').goto_thisweek()", "Goto This Week" }, - n = { "lua require('telekasten').new_note()", "New Note" }, - m = { "lua require('telekasten').panel()", "Menu" }, - } - end, - }, - { - "iamcco/markdown-preview.nvim", - run = "cd app && npm install", - ft = "markdown", - config = function() - vim.g.mkdp_auto_start = 1 - end, - }, - { - "AckslD/nvim-neoclip.lua", - requires = { - { 'kkharji/sqlite.lua', module = 'sqlite' }, - }, - config = function() - require('neoclip').setup({ - keys = { - telescope = { - i = { - select = '', - paste = '', - paste_behind = '', - replay = '', -- replay a macro - delete = '', -- delete an entry - custom = {}, - }, - n = { - select = '', - paste = 'p', - --- It is possible to map to more than one key. - -- paste = { 'p', '' }, - paste_behind = 'P', - replay = 'q', - delete = 'd', - custom = {}, - }, - } - } - }) - - vim.keymap.set("i", "", "lua require('telescope').extensions.neoclip.default()", - { noremap = true, silent = true }) - end, - }, - { - 'chentoast/marks.nvim', - config = function() - require('marks').setup({ - default_mappings = true, - mappings = { - set = false, - set_next = false, - toggle = false, - next = false, - prev = false, - delete_line = false, - delete_buffer = false, - } - }) - vim.keymap.set("n", "", "Telescope marks", { noremap = true, silent = true }) - end, - }, -} - --- luasnip jumps -vim.keymap.set("i", "", "lua require('luasnip').jump(1)", { noremap = true, silent = true }) -vim.keymap.set("i", "", "lua require('luasnip').jump(-1)", { noremap = true, silent = true }) - --- set additional formatters -local formatters = require "lvim.lsp.null-ls.formatters" -formatters.setup { - { - command = "prettierd", - filetypes = { "typescript", "typescriptreact", "javascript", "javascriptreact", "json" }, - }, - { - command = "eslint_d", - filetypes = { "typescript", "typescriptreact", "javascript", "javascriptreact" }, - }, - { - command = "rustfmt", - filetypes = { "rust" }, - }, - { - command = "gofmt", - filetypes = { "go" }, - }, -} - --- set additional linters -local linters = require "lvim.lsp.null-ls.linters" -linters.setup { - { - command = "eslint_d", - filetypes = { "typescript", "typescriptreact", "javascript", "javascriptreact" }, - }, -} - -local dirs_to_include = { "~/src", "~/src/tmp", "~/src/omuras/code", "~/org" } -local base_dirs = {} - -for _, the_dir in ipairs(dirs_to_include) do - the_dir = string.gsub(the_dir, "~", os.getenv("HOME") or '') - if utils.is_directory(the_dir) then - table.insert(base_dirs, { path = the_dir }) - end -end - -lvim.builtin.telescope.on_config_done = function(telescope) - telescope.setup { - pickers = { - buffers = { - mappings = { - n = { - ["D"] = "delete_buffer" - }, - i = { - [""] = "delete_buffer" - } - } - } - }, - extensions = { - project = { - base_dirs = base_dirs, - hidden_files = true, - } - } - } - - pcall(telescope.load_extension, "file_browser") - pcall(telescope.load_extension, "project") - pcall(telescope.load_extension, "neoclip") -end - -function Toggle_lsp_lines() - local flag = not vim.diagnostic.config().virtual_lines - print("LSP lines has been " .. (flag and "enabled" or "disabled")) - vim.diagnostic.config { virtual_lines = flag, virtual_text = not flag } -end - -vim.diagnostic.config({ - virtual_text = false, - virtual_lines = true, -}) - -lvim.builtin.which_key.mappings["P"] = { "lua require'telescope'.extensions.project.project{ display_type = 'full' }", - "Projects" } -lvim.builtin.which_key.mappings["`"] = { ":edit #", "Last Buffer" } -lvim.builtin.which_key.mappings["lT"] = { "lua Toggle_lsp_lines()", "Toggle LSP Lines" } - -lvim.builtin.which_key.mappings["u"] = { - name = "+Text Utils", - e = { "PickEverything", "Insert Emoji/Char" }, - p = { ":lua require('telescope').extensions.neoclip.default()", "Neoclip" }, -} - -lvim.builtin.which_key.vmappings["u"] = { - name = "+Text Utils", - b = { - name = "+Base 64", - e = { ":call base64#v_btoa()", "Base64 Encode", noremap = true, silent = true }, - d = { ":call base64#v_atob()", "Base64 Decode", noremap = true, silent = true }, - } -} - --- Place to register which key mappings on things without a leader -lvim.builtin.which_key.on_config_done = function(wk) - wk.register({ - c = { - r = { - name = 'Coerce Case', - c = { "camelCase" }, - m = { "MixedCase" }, - ['_'] = { "snake_case" }, - s = { "snake_case" }, - u = { "SNAKE_UPPERCASE" }, - U = { "SNAKE_UPPERCASE" }, - ['-'] = { "dash-case" }, - k = { "kebab-case" }, - ['.'] = { "dot.case" }, - [' '] = { "space case" }, - t = { "Title Case" }, - }, - }, - m = { - name = 'Marks', - [','] = { ":lua require('marks').set_next()", "Set Next Mark" }, - [';'] = { ":lua require('marks').toggle()", "Toogle Mark" }, - [']'] = { ":lua require('marks').next()", "Goto Next Mark" }, - ['['] = { ":lua require('marks').prev()", "Goto Previous Mark" }, - }, - d = { - m = { - ['-'] = { ":lua require('marks').delete_line()", "Delete Marks on Line" }, - [' '] = { ":lua require('marks').delete_buf()", "Delete Marks in Buffer" }, - } - } - }, { prefix = nil, mode = 'n', nowait = true, noremap = true }) -end diff --git a/.config/nvim b/.config/nvim new file mode 160000 index 0000000..48faad2 --- /dev/null +++ b/.config/nvim @@ -0,0 +1 @@ +Subproject commit 48faad2626e0b91db072ae31f7910fc229fa445b diff --git a/.gitconfig b/.gitconfig index 36c8d66..95939e2 100644 --- a/.gitconfig +++ b/.gitconfig @@ -1,7 +1,7 @@ [user] name = Ted Kulp - email = ted.kulp@wizehive.com - gmail = tedkulp@gmail.com + email = ted@tedkulp.com + gmail = tedkulp@gmail.com signingKey = AE6B007E2FAB1C94319C7C09FD56BE79CDAE7895 [commit] gpgsign = true diff --git a/.gitmodules b/.gitmodules index b8301f7..7ae906a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule ".tmux"] path = .tmux url = https://github.com/gpakosz/.tmux.git +[submodule ".config/nvim"] + path = .config/nvim + url = git@github.com:tedkulp/nvim diff --git a/.ssh/config b/.ssh/config new file mode 100644 index 0000000..10cab31 --- /dev/null +++ b/.ssh/config @@ -0,0 +1,2 @@ +Host * + IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock" diff --git a/.zshrc b/.zshrc deleted file mode 100644 index 1e01307..0000000 --- a/.zshrc +++ /dev/null @@ -1,132 +0,0 @@ -# zmodload zsh/zprof - -export PATH="${PATH}:${HOME}/.local/bin" -export XDG_CONFIG_HOME="${HOME}/.config" -export ENHANCD_FILTER=fzy:fzf:peco - -# zmodload zsh/zprof -ZSH_DISABLE_COMPFIX=true -setopt HIST_IGNORE_SPACE -# If you come from bash you might have to change your $PATH. -# export PATH=$HOME/bin:/usr/local/bin:$PATH - -# Path to your oh-my-zsh installation. -#export ZSH="$HOME/.oh-my-zsh" -export ZSH="${HOME}/.local/share/sheldon/repos/github.com/ohmyzsh/ohmyzsh" - -# Set name of the theme to load --- if set to "random", it will -# load a random theme each time oh-my-zsh is loaded, in which case, -# to know which specific one was loaded, run: echo $RANDOM_THEME -# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes -ZSH_THEME="robbyrussell" -# ZSH_THEME="cobalt2" - -# Set list of themes to pick from when loading at random -# Setting this variable when ZSH_THEME=random will cause zsh to load -# a theme from this variable instead of looking in $ZSH/themes/ -# If set to an empty array, this variable will have no effect. -# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) - -# Uncomment the following line to use case-sensitive completion. -# CASE_SENSITIVE="true" - -# Uncomment the following line to use hyphen-insensitive completion. -# Case-sensitive completion must be off. _ and - will be interchangeable. -# HYPHEN_INSENSITIVE="true" - -# Uncomment the following line to disable bi-weekly auto-update checks. -# DISABLE_AUTO_UPDATE="true" - -# Uncomment the following line to automatically update without prompting. -# DISABLE_UPDATE_PROMPT="true" - -# Uncomment the following line to change how often to auto-update (in days). -# export UPDATE_ZSH_DAYS=13 - -# Uncomment the following line if pasting URLs and other text is messed up. -# DISABLE_MAGIC_FUNCTIONS="true" - -# Uncomment the following line to disable colors in ls. -# DISABLE_LS_COLORS="true" - -# Uncomment the following line to disable auto-setting terminal title. -# DISABLE_AUTO_TITLE="true" - -# Uncomment the following line to enable command auto-correction. -# ENABLE_CORRECTION="true" - -# Uncomment the following line to display red dots whilst waiting for completion. -# COMPLETION_WAITING_DOTS="true" - -# Uncomment the following line if you want to disable marking untracked files -# under VCS as dirty. This makes repository status check for large repositories -# much, much faster. -# DISABLE_UNTRACKED_FILES_DIRTY="true" - -# Uncomment the following line if you want to change the command execution time -# stamp shown in the history command output. -# You can set one of the optional three formats: -# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd" -# or set a custom format using the strftime function format specifications, -# see 'man strftime' for details. -# HIST_STAMPS="mm/dd/yyyy" - -# Would you like to use another custom folder than $ZSH/custom? -if [ -d "$HOME/.oh-my-zsh" ]; then - ZSH_CUSTOM=$HOME/.config/zsh -fi - -# Which plugins would you like to load? -# Standard plugins can be found in $ZSH/plugins/ -# Custom plugins may be added to $ZSH_CUSTOM/plugins/ -# Example format: plugins=(rails git textmate ruby lighthouse) -# Add wisely, as too many plugins slow down shell startup. -# plugins=(vi-mode git fzf aws vscode dash zoxide thefuck zsh-syntax-highlighting jq forgit) -plugins=(vi-mode git fzf aws dash zoxide zsh-syntax-highlighting jq sd) - -#source $ZSH/oh-my-zsh.sh - -# User configuration - -# export MANPATH="/usr/local/man:$MANPATH" - -# You may need to manually set your language environment -# export LANG=en_US.UTF-8 - -# Preferred editor for local and remote sessions -# if [[ -n $SSH_CONNECTION ]]; then -# export EDITOR='vim' -# else -# export EDITOR='mvim' -# fi - -# Compilation flags -# export ARCHFLAGS="-arch x86_64" - -# Set personal aliases, overriding those provided by oh-my-zsh libs, -# plugins, and themes. Aliases can be placed here, though oh-my-zsh -# users are encouraged to define aliases within the ZSH_CUSTOM folder. -# For a full list of active aliases, run `alias`. -# -# Example aliases -# alias zshconfig="mate ~/.zshrc" -# alias ohmyzsh="mate ~/.oh-my-zsh" - -# tabtab source for packages -# uninstall by removing these lines -# [ -f ~/.config/tabtab/__tabtab.fish ]; and . ~/.config/tabtab/__tabtab.fish; or true - -eval "$(sheldon source)" -source <("/usr/local/bin/starship" init zsh --print-full-init) - -# zprof - -# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. -export PATH="$PATH:$HOME/.rvm/bin" - -# zprof - -# pnpm -export PNPM_HOME="/Users/tedkulp/Library/pnpm" -export PATH="$PNPM_HOME:$PATH" -# pnpm end \ No newline at end of file