updated a bunch

This commit is contained in:
2026-05-20 18:14:15 +02:00
parent 45fb878bd1
commit 8989c7927c
29 changed files with 680 additions and 514 deletions
+4 -1
View File
@@ -1,5 +1,5 @@
[font]
size = 8.0
size = 10.0
[font.bold]
family = "MesloLGL Nerd Font Mono"
@@ -12,3 +12,6 @@ style = "Italic"
[font.normal]
family = "MesloLGL Nerd Font Mono"
style = "Regular"
[window]
opacity = 1.0
+371
View File
@@ -0,0 +1,371 @@
## Base directory for Atuin data files (databases, keys, session, etc.)
## All data file paths default to being relative to this directory.
## linux/mac: ~/.local/share/atuin (or XDG_DATA_HOME/atuin)
## windows: %USERPROFILE%/.local/share/atuin
# data_dir = "~/.local/share/atuin"
## where to store your database, default is your system data directory
## linux/mac: ~/.local/share/atuin/history.db
## windows: %USERPROFILE%/.local/share/atuin/history.db
# db_path = "~/.history.db"
## where to store your encryption key, default is your system data directory
## linux/mac: ~/.local/share/atuin/key
## windows: %USERPROFILE%/.local/share/atuin/key
# key_path = "~/.key"
## where to store your auth session token, default is your system data directory
## linux/mac: ~/.local/share/atuin/session
## windows: %USERPROFILE%/.local/share/atuin/session
# session_path = "~/.session"
## date format used, either "us" or "uk"
# dialect = "us"
## default timezone to use when displaying time
## either "l", "local" to use the system's current local timezone, or an offset
## from UTC in the format of "<+|->H[H][:M[M][:S[S]]]"
## for example: "+9", "-05", "+03:30", "-01:23:45", etc.
# timezone = "local"
## enable or disable automatic sync
# auto_sync = true
## enable or disable automatic update checks
# update_check = true
## address of the sync server
# sync_address = "https://api.atuin.sh"
## how often to sync history. note that this is only triggered when a command
## is ran, so sync intervals may well be longer
## set it to 0 to sync after every command
# sync_frequency = "10m"
## which search mode to use
## possible values: prefix, fulltext, fuzzy, skim
# search_mode = "fuzzy"
## which filter mode to use by default
## possible values: "global", "host", "session", "session-preload", "directory", "workspace"
## consider using search.filters to customize the enablement and order of filter modes
# filter_mode = "global"
## With workspace filtering enabled, Atuin will filter for commands executed
## in any directory within a git repository tree (default: false).
##
## To use workspace mode by default when available, set this to true and
## set filter_mode to "workspace" or leave it unspecified and
## set search.filters to include "workspace" before other filter modes.
# workspaces = false
## which filter mode to use when atuin is invoked from a shell up-key binding
## the accepted values are identical to those of "filter_mode"
## leave unspecified to use same mode set in "filter_mode"
# filter_mode_shell_up_key_binding = "global"
## which search mode to use when atuin is invoked from a shell up-key binding
## the accepted values are identical to those of "search_mode"
## leave unspecified to use same mode set in "search_mode"
# search_mode_shell_up_key_binding = "fuzzy"
## which style to use
## possible values: auto, full, compact
style = "compact"
## the maximum number of lines the interface should take up
## set it to 0 to always go full screen
inline_height = 15
## the maximum number of lines the interface should take up
## when atuin is invoked from a shell up-key binding
## the accepted values are identical to those of "inline_height"
# inline_height_shell_up_key_binding = 0
## Invert the UI - put the search bar at the top , Default to `false`
invert = false
## enable or disable showing a preview of the selected command
## useful when the command is longer than the terminal width and is cut off
# show_preview = true
## what to do when the escape key is pressed when searching
## possible values: return-original, return-query
# exit_mode = "return-original"
## possible values: emacs, subl
# word_jump_mode = "emacs"
## characters that count as a part of a word
# word_chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
## number of context lines to show when scrolling by pages
# scroll_context_lines = 1
## use ctrl instead of alt as the shortcut modifier key for numerical UI shortcuts
## alt-0 .. alt-9
# ctrl_n_shortcuts = false
## Show numeric shortcuts (1..9) beside list items in the TUI
## set to false to hide the moving numbers if you find them distracting
# show_numeric_shortcuts = true
## default history list format - can also be specified with the --format arg
# history_format = "{time}\t{command}\t{duration}"
## Defaults to true. If enabled, strip trailing spaces and tabs from commands
## before saving them to history.
## Escaped trailing spaces (for example `printf foo\\ `) are preserved.
# strip_trailing_whitespace = true
## prevent commands matching any of these regexes from being written to history.
## Note that these regular expressions are unanchored, i.e. if they don't start
## with ^ or end with $, they'll match anywhere in the command.
## For details on the supported regular expression syntax, see
## https://docs.rs/regex/latest/regex/#syntax
# history_filter = [
# "^secret-cmd",
# "^innocuous-cmd .*--secret=.+",
# ]
## prevent commands run with cwd matching any of these regexes from being written
## to history. Note that these regular expressions are unanchored, i.e. if they don't
## start with ^ or end with $, they'll match anywhere in CWD.
## For details on the supported regular expression syntax, see
## https://docs.rs/regex/latest/regex/#syntax
# cwd_filter = [
# "^/very/secret/area",
# ]
## Configure the maximum height of the preview to show.
## Useful when you have long scripts in your history that you want to distinguish
## by more than the first few lines.
# max_preview_height = 4
## Configure whether or not to show the help row, which includes the current Atuin
## version (and whether an update is available), a keymap hint, and the total
## amount of commands in your history.
# show_help = true
## Configure whether or not to show tabs for search and inspect
# show_tabs = true
## Configure whether or not the tabs row may be auto-hidden, which includes the current Atuin
## tab, such as Search or Inspector, and other tabs you may wish to see. This will
## only be hidden if there are fewer than this count of lines available, and does not affect the use
## of keyboard shortcuts to switch tab. 0 to never auto-hide, default is 8 (lines).
## This is ignored except in `compact` mode.
# auto_hide_height = 8
## Defaults to true. This matches history against a set of default regex, and will not save it if we get a match. Defaults include
## 1. AWS key id
## 2. Github pat (old and new)
## 3. Slack oauth tokens (bot, user)
## 4. Slack webhooks
## 5. Stripe live/test keys
# secrets_filter = true
## Defaults to true. If enabled, upon hitting enter Atuin will immediately execute the command,
## whereas tab will put the command in the prompt for editing.
## If set to false, both enter and tab will place the command in the prompt for editing.
## This applies for new installs. Old installs will keep the old behaviour unless configured otherwise.
enter_accept = true
## Defaults to false. If enabled, when triggered after &&, || or |, Atuin will complete commands to chain rather than replace the current line.
command_chaining = true
## Defaults to "emacs". This specifies the keymap on the startup of `atuin
## search`. If this is set to "auto", the startup keymap mode in the Atuin
## search is automatically selected based on the shell's keymap where the
## keybinding is defined. If this is set to "emacs", "vim-insert", or
## "vim-normal", the startup keymap mode in the Atuin search is forced to be
## the specified one.
# keymap_mode = "auto"
## Cursor style in each keymap mode. If specified, the cursor style is changed
## in entering the cursor shape. Available values are "default" and
## "{blink,steady}-{block,underline,bar}".
# keymap_cursor = { emacs = "blink-block", vim_insert = "blink-block", vim_normal = "steady-block" }
# network_connect_timeout = 5
# network_timeout = 5
## Timeout (in seconds) for acquiring a local database connection (sqlite)
# local_timeout = 5
## Set this to true and Atuin will minimize motion in the UI - timers will not update live, etc.
## Alternatively, set env NO_MOTION=true
# prefers_reduced_motion = false
[stats]
## Set commands where we should consider the subcommand for statistics. Eg, kubectl get vs just kubectl
# common_subcommands = [
# "apt",
# "cargo",
# "composer",
# "dnf",
# "docker",
# "dotnet",
# "git",
# "go",
# "ip",
# "jj",
# "kubectl",
# "nix",
# "nmcli",
# "npm",
# "pecl",
# "pnpm",
# "podman",
# "port",
# "systemctl",
# "tmux",
# "yarn",
# ]
## Set commands that should be totally stripped and ignored from stats
# common_prefix = ["sudo"]
## Set commands that will be completely ignored from stats
# ignored_commands = [
# "cd",
# "ls",
# "vi"
# ]
[keys]
# Defaults to true. If disabled, using the up/down key won't exit the TUI when scrolled past the first/last entry.
# scroll_exits = true
# Defaults to true. The left arrow key will exit the TUI when scrolling before the first character
# exit_past_line_start = true
# Defaults to true. The right arrow key performs the same functionality as Tab and copies the selected line to the command line to be modified.
# accept_past_line_end = true
# Defaults to false. The left arrow key performs the same functionality as Tab and copies the selected line to the command line to be modified.
# accept_past_line_start = false
# Defaults to false. The backspace key performs the same functionality as Tab and copies the selected line to the command line to be modified when at the start of the line.
# accept_with_backspace = false
[sync]
# Enable sync v2 by default
# This ensures that sync v2 is enabled for new installs only
# In a later release it will become the default across the board
records = true
[preview]
## which preview strategy to use to calculate the preview height (respects max_preview_height).
## possible values: auto, static
## auto: length of the selected command.
## static: length of the longest command stored in the history.
## fixed: use max_preview_height as fixed height.
# strategy = "auto"
[daemon]
## Enables using the daemon to sync.
# enabled = false
## Automatically start and manage the daemon when needed.
## Not compatible with `systemd_socket = true`.
# autostart = false
## How often the daemon should sync in seconds
# sync_frequency = 300
## The path to the unix socket used by the daemon (on unix systems)
## linux/mac: ~/.local/share/atuin/atuin.sock
## windows: Not Supported
# socket_path = "~/.local/share/atuin/atuin.sock"
## The daemon pidfile used for lifecycle management.
## Defaults to the Atuin data directory.
# pidfile_path = "~/.local/share/atuin/atuin-daemon.pid"
## Use systemd socket activation rather than opening the given path (the path must still be correct for the client)
## linux: false
## mac/windows: Not Supported
# systemd_socket = false
## The port that should be used for TCP on non unix systems
# tcp_port = 8889
# [theme]
## Color theme to use for rendering in the terminal.
## There are some built-in themes, including the base theme ("default"),
## "autumn" and "marine". You can add your own themes to the "./themes" subdirectory of your
## Atuin config (or ATUIN_THEME_DIR, if provided) as TOML files whose keys should be one or
## more of AlertInfo, AlertWarn, AlertError, Annotation, Base, Guidance, Important, and
## the string values as lowercase entries from this list:
## https://ogeon.github.io/docs/palette/master/palette/named/index.html
## If you provide a custom theme file, it should be called "NAME.toml" and the theme below
## should be the stem, i.e. `theme = "NAME"` for your chosen NAME.
# name = "autumn"
## Whether the theme manager should output normal or extra information to help fix themes.
## Boolean, true or false. If unset, left up to the theme manager.
# debug = true
[search]
## The list of enabled filter modes, in order of priority.
## The "workspace" mode is skipped when not in a workspace or workspaces = false.
## Default filter mode can be overridden with the filter_mode setting.
# filters = [ "global", "host", "session", "session-preload", "workspace", "directory" ]
[tmux]
## Enable using atuin with tmux popup (requires tmux >= 3.2)
## When enabled and running inside tmux, Atuin will use a popup window for interactive search.
## Set to false to disable the popup.
## This can also be controlled with the ATUIN_TMUX_POPUP environment variable.
## Note: The tmux popup is currently supported in zsh, bash, and fish shells. This currently doesn't work with iTerm native tmux integration.
# enabled = false
## Width of the tmux popup window
## Can be a percentage, or integer (e.g. "100" means 100 characters wide)
# width = "80%"
## Height of the tmux popup window
## Can be a percentage, or integer (e.g. "100" means 100 lines tall)
# height = "60%"
[ui]
## Columns to display in the interactive search, from left to right.
## The selection indicator (" > ") is always shown first implicitly.
##
## Each column can be specified as a simple string (uses default width)
## or as an object with type, width, and expand:
## { type = "directory", width = 30, expand = true }
##
## Available column types (with default widths):
## duration (5) - Command execution duration (e.g., "123ms")
## time (8) - Relative time since execution (e.g., "59m ago")
## datetime (16) - Absolute timestamp (e.g., "2025-01-22 14:35")
## directory (20) - Working directory (truncated if too long)
## host (15) - Hostname where command was run
## user (10) - Username
## exit (3) - Exit code (colored by success/failure)
## command (*) - The command itself (expands by default)
##
## The "expand" option (default: true for command, false for others) makes a
## column fill remaining space. Only one column should have expand = true.
##
## Default:
# columns = ["duration", "time", "command"]
##
## Examples:
##
## Minimal - more space for commands:
# columns = ["duration", "command"]
##
## With wider directory column:
# columns = ["duration", { type = "directory", width = 30 }, "command"]
##
## Show host for multi-machine sync users:
# columns = ["duration", "time", "host", "command"]
##
## Show exit codes prominently:
# columns = ["exit", "duration", "command"]
##
## Make directory expand instead of command:
# columns = ["duration", "time", { type = "directory", expand = true }, { type = "command", expand = false }]
+39
View File
@@ -0,0 +1,39 @@
{
"$schema": "https://json.schemastore.org/claude-code-settings.json",
"theme": "dark",
"permissions": {
"allow": [
"Bash(git *)",
"Bash(make *)",
"Bash(go *)",
"Bash(python *)",
"Bash(cargo *)",
"Read(~/.zshrc)",
"Read(~/.config/**)"
],
"deny": [
"Read(./.env)",
"Read(./.env.*)",
"Read(./secrets/**)",
"Bash(curl * | bash *)"
]
},
"hooks": {
"Stop": [
{
"hooks": [{ "type": "command", "command": "notify-send 'Claude Code' 'Task finished'" }]
}
]
},
"attribution": {
"commits": false,
"pullRequests": false
},
"spinnerTipsOverride": {
"excludeDefault": false,
"tips": [
"Your custom tip here",
"Another reminder"
]
}
}
@@ -1,16 +0,0 @@
#!/bin/bash
origin_url=$(git remote get-url origin 2>/dev/null)
if [[ "$origin_url" == *"github.com"* ]]; then
user_repo=$(echo "$origin_url" | sed -E 's#.*github.com[:/](.*)\.git#\1#')
gitea_url="git@192.168.0.212:${user_repo}.git"
if git remote -v | grep -q "$gitea_url"; then
exit 0
fi
git remote set-url --add --push origin "$gitea_url"
git remote set-url --add --push origin "$origin_url"
fi
+9
View File
@@ -0,0 +1,9 @@
aliases:
dp: deployments
sec: v1/secrets
jo: jobs
cr: clusterroles
crb: clusterrolebindings
ro: roles
rb: rolebindings
np: networkpolicies
+53 -1
View File
@@ -1,5 +1,57 @@
sudo openconnect -vvvv --timestamp --dump-http-traffic \
#!/usr/bin/env bash
set -euo pipefail
BW_ITEM_ID="00103432-dabe-4fad-b0c0-0f40ab1ebb36"
export NODE_EXTRA_CA_CERTS="$HOME/.config/bitwarden-certs/vaultwarden-agres-site.pem"
# Ensure Bitwarden is available.
if ! command -v bw >/dev/null 2>&1; then
echo "Error: bw CLI not found." >&2
exit 1
fi
# Ensure we have a usable Bitwarden session.
BW_STATUS="$(bw status 2>/dev/null | jq -r '.status')"
case "$BW_STATUS" in
unauthenticated)
echo "Bitwarden is not logged in. Logging in..."
bw login
export BW_SESSION="$(bw unlock --raw)"
;;
locked)
echo "Bitwarden vault is locked. Unlocking..."
export BW_SESSION="$(bw unlock --raw)"
;;
unlocked)
# Already unlocked in this shell/session.
;;
*)
echo "Error: unknown Bitwarden status: $BW_STATUS" >&2
exit 1
;;
esac
# Pull latest vault data if reachable. Do not fail hard if sync is unavailable.
bw sync >/dev/null 2>&1 || echo "Warning: bw sync failed; using local Bitwarden cache." >&2
VPN_USER="$(bw get username "$BW_ITEM_ID")"
VPN_PASS="$(bw get password "$BW_ITEM_ID")"
if [[ -z "$VPN_USER" || -z "$VPN_PASS" ]]; then
echo "Error: username or password is empty for Bitwarden item: $BW_ITEM_ID" >&2
exit 1
fi
# Feed only the VPN password through stdin.
# OpenConnect will still prompt interactively for 2FA if the server requires it.
{
printf '%s\n' "$VPN_PASS"
cat /dev/tty
} | sudo openconnect --timestamp --dump-http-traffic \
--protocol=anyconnect \
--user="$VPN_USER" \
--passwd-on-stdin \
--useragent='AnyConnect' \
--gnutls-priority="NORMAL:-VERS-ALL:+VERS-TLS1.2:+RSA:+AES-128-CBC:+SHA1" \
vpn-ac.uni-heidelberg.de/2fa
+25 -1
View File
@@ -1,6 +1,6 @@
-- Set leader key to Space
vim.g.mapleader = " "
vim.g.maplocalleader = " "
vim.g.maplocalleader = ","
-- Load basic settings
require("config.options")
@@ -14,3 +14,27 @@ require("config.lsp")
require("config.treesitter")
require("config.telescope")
require("config.cmp")
-- VimTeX Config
vim.g.vimtex_view_method = 'zathura'
vim.g.vimtex_compiler_method = 'latexmk'
vim.g.vimtex_compiler_latexmk = {
build_dir = 'out'
}
-- Language Checks
vim.api.nvim_create_autocmd("FileType", {
pattern = { "tex", "plaintex", "latex", "markdown" },
callback = function()
vim.opt_local.spell = true
vim.opt_local.linebreak = true
vim.opt_local.spelllang = { "de_de", "en_us" }
end,
})
-- Diable Copilot on Start
vim.g.copilot_filetypes = {
["*"] = false,
}
+18 -17
View File
@@ -1,25 +1,26 @@
{
"LuaSnip": { "branch": "master", "commit": "73813308abc2eaeff2bc0d3f2f79270c491be9d7" },
"barbar.nvim": { "branch": "master", "commit": "549ee11d97057eae207bafa2c23c315942cca097" },
"LuaSnip": { "branch": "master", "commit": "642b0c595e11608b4c18219e93b88d7637af27bc" },
"barbar.nvim": { "branch": "master", "commit": "539d73def39c9172b4d4d769f14090e08f37b29d" },
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
"cmp-cmdline": { "branch": "main", "commit": "d126061b624e0af6c3a556428712dd4d4194ec6d" },
"cmp-nvim-lsp": { "branch": "main", "commit": "bd5a7d6db125d4654b50eeae9f5217f24bb22fd3" },
"cmp-nvim-lsp": { "branch": "main", "commit": "cbc7b02bb99fae35cb42f514762b89b5126651ef" },
"cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" },
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
"gitsigns.nvim": { "branch": "main", "commit": "1ee5c1fd068c81f9dd06483e639c2aa4587dc197" },
"lazy.nvim": { "branch": "main", "commit": "59334064f8604ca073791c25dcc5c9698865406e" },
"lualine.nvim": { "branch": "master", "commit": "b8c23159c0161f4b89196f74ee3a6d02cdc3a955" },
"mini.nvim": { "branch": "main", "commit": "79654ef28182986dcdd9e2d3506d1728fc7c4f79" },
"neo-tree.nvim": { "branch": "v3.x", "commit": "9130e58424ad95bf2dd8b40afbb8cf04d648638c" },
"copilot.vim": { "branch": "release", "commit": "a12fd5672110c8aa7e3c8419e28c96943ca179be" },
"friendly-snippets": { "branch": "main", "commit": "6cd7280adead7f586db6fccbd15d2cac7e2188b9" },
"gitsigns.nvim": { "branch": "main", "commit": "50c205548d8b037b7ff6378fca6d21146f0b6161" },
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
"lualine.nvim": { "branch": "master", "commit": "47f91c416daef12db467145e16bed5bbfe00add8" },
"markdown-preview.nvim": { "branch": "master", "commit": "a923f5fc5ba36a3b17e289dc35dc17f66d0548ee" },
"neo-tree.nvim": { "branch": "v3.x", "commit": "84c75e7a7e443586f60508d12fc50f90d9aee14e" },
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
"nvim-cmp": { "branch": "main", "commit": "b5311ab3ed9c846b585c0c15b7559be131ec4be9" },
"nvim-lspconfig": { "branch": "master", "commit": "e688b486fe9291f151eae7e5c0b5a5c4ef980847" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-web-devicons": { "branch": "master", "commit": "b8221e42cf7287c4dcde81f232f58d7b947c210d" },
"nvim-cmp": { "branch": "main", "commit": "a1d504892f2bc56c2e79b65c6faded2fd21f3eca" },
"nvim-lspconfig": { "branch": "master", "commit": "16812abf0e8d8175155f26143a8504e8253e92b0" },
"nvim-treesitter": { "branch": "master", "commit": "cf12346a3414fa1b06af75c79faebe7f76df080a" },
"nvim-web-devicons": { "branch": "master", "commit": "d7462543c9e366c0d196c7f67a945eaaf5d99414" },
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
"render-markdown.nvim": { "branch": "main", "commit": "7e6af36c846017122e07e68803bbf95f3c729ca3" },
"sonokai": { "branch": "master", "commit": "cf50520d1cddf7a4e7bccae650cdf0a6dd362a10" },
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
"tokyonight.nvim": { "branch": "main", "commit": "4d159616aee17796c2c94d2f5f87d2ee1a3f67c7" }
"sonokai": { "branch": "master", "commit": "b023c5280b16fe2366f5e779d8d2756b3e5ee9c3" },
"telescope.nvim": { "branch": "master", "commit": "5255aa27c422de944791318024167ad5d40aad20" },
"tokyonight.nvim": { "branch": "main", "commit": "cdc07ac78467a233fd62c493de29a17e0cf2b2b6" },
"vimtex": { "branch": "master", "commit": "9306903316c3ddd250676b7cf97c84a84c9c8f99" }
}
+4
View File
@@ -72,3 +72,7 @@ cmp.setup({
},
})
-- Disable cmp for markdown notes (no recommendations/autocomplete)
cmp.setup.filetype("markdown", {
enabled = false,
})
+3 -3
View File
@@ -1,7 +1,7 @@
vim.opt.number = true
vim.opt.relativenumber = false
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.relativenumber = true
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
vim.opt.termguicolors = true
vim.opt.cursorline = true
+32 -7
View File
@@ -55,15 +55,27 @@ require("lazy").setup({
-- Markdown Preview Page
{
'MeanderingProgrammer/render-markdown.nvim',
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.nvim'}, -- if you use the mini.nvim suite
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.icons' }, -- if you use standalone mini plugins
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons
---@module 'render-markdown'
---@type render.md.UserConfig
opts = {},
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
ft = { "markdown" },
build = function()
require("lazy").load({ plugins = { "markdown-preview.nvim" } })
vim.fn["mkdp#util#install"]()
end,
config = function()
vim.g.mkdp_echo_preview_url = 1
vim.cmd([[
function! OpenMarkdownPreview(url)
call jobstart(['xdg-open', a:url], {'detach': v:true})
endfunction
]])
vim.g.mkdp_browserfunc = "OpenMarkdownPreview"
end,
},
-- Tabs
{ 'romgrk/barbar.nvim',
dependencies = {
@@ -90,5 +102,18 @@ require("lazy").setup({
lazy = false, -- neo-tree will lazily load itself
},
-- GitHub Copilot
"github/copilot.vim",
{
"lervag/vimtex",
lazy = false, -- we don't want to lazy load VimTeX
-- tag = "v2.15", -- uncomment to pin to a specific release
init = function()
-- VimTeX configuration goes here, e.g.
vim.g.vimtex_view_method = "zathura"
end
},
})
-16
View File
@@ -1,16 +0,0 @@
-- Set leader key to Space
vim.g.mapleader = " "
vim.g.maplocalleader = " "
-- Load basic settings
require("config.options")
require("config.keymaps")
-- Load plugins (lazy.nvim will be auto-installed)
require("config.plugins")
-- Plugin-specific configuration
require("config.lsp")
require("config.treesitter")
require("config.telescope")
require("config.cmp")
-23
View File
@@ -1,23 +0,0 @@
{
"LuaSnip": { "branch": "master", "commit": "3732756842a2f7e0e76a7b0487e9692072857277" },
"barbar.nvim": { "branch": "master", "commit": "fb4369940a07dda35fa4d7f54cf4a36aa00440e6" },
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
"cmp-cmdline": { "branch": "main", "commit": "d126061b624e0af6c3a556428712dd4d4194ec6d" },
"cmp-nvim-lsp": { "branch": "main", "commit": "bd5a7d6db125d4654b50eeae9f5217f24bb22fd3" },
"cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" },
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
"friendly-snippets": { "branch": "main", "commit": "572f5660cf05f8cd8834e096d7b4c921ba18e175" },
"gitsigns.nvim": { "branch": "main", "commit": "20ad4419564d6e22b189f6738116b38871082332" },
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
"lualine.nvim": { "branch": "master", "commit": "3946f0122255bc377d14a59b27b609fb3ab25768" },
"neo-tree.nvim": { "branch": "v3.x", "commit": "f3df514fff2bdd4318127c40470984137f87b62e" },
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
"nvim-cmp": { "branch": "main", "commit": "106c4bcc053a5da783bf4a9d907b6f22485c2ea0" },
"nvim-lspconfig": { "branch": "master", "commit": "b34fbdffdcb6295c7a25df6ba375452a2e73c32e" },
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
"nvim-web-devicons": { "branch": "master", "commit": "8dcb311b0c92d460fac00eac706abd43d94d68af" },
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
"sonokai": { "branch": "master", "commit": "ec07018013b4683cf33f80ee4bdf3eca2621da33" },
"telescope.nvim": { "branch": "master", "commit": "3a12a853ebf21ec1cce9a92290e3013f8ae75f02" },
"tokyonight.nvim": { "branch": "main", "commit": "5da1b76e64daf4c5d410f06bcb6b9cb640da7dfd" }
}
-74
View File
@@ -1,74 +0,0 @@
-- Completion setup for Neovim using nvim-cmp and LuaSnip
-- Safely import modules
local cmp_status, cmp = pcall(require, "cmp")
if not cmp_status then
return
end
local snip_status, luasnip = pcall(require, "luasnip")
if not snip_status then
return
end
-- Load friendly-snippets (optional, prebuilt snippets)
require("luasnip.loaders.from_vscode").lazy_load()
-- Setup nvim-cmp
cmp.setup({
snippet = {
expand = function(args)
luasnip.lsp_expand(args.body)
end,
},
mapping = cmp.mapping.preset.insert({
["<C-Space>"] = cmp.mapping.complete(), -- Trigger completion menu
["<CR>"] = cmp.mapping.confirm({ select = true }), -- Confirm selection
["<Tab>"] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_next_item()
elseif luasnip.expand_or_jumpable() then
luasnip.expand_or_jump()
else
fallback()
end
end, { "i", "s" }),
["<S-Tab>"] = cmp.mapping(function(fallback)
if cmp.visible() then
cmp.select_prev_item()
elseif luasnip.jumpable(-1) then
luasnip.jump(-1)
else
fallback()
end
end, { "i", "s" }),
}),
sources = cmp.config.sources({
{ name = "nvim_lsp" }, -- LSP completion
{ name = "luasnip" }, -- Snippets
}, {
{ name = "buffer" }, -- Words in current buffer
{ name = "path" }, -- File system paths
}),
window = {
completion = cmp.config.window.bordered(),
documentation = cmp.config.window.bordered(),
},
formatting = {
format = function(entry, vim_item)
vim_item.menu = ({
nvim_lsp = "[LSP]",
luasnip = "[Snip]",
buffer = "[Buf]",
path = "[Path]",
})[entry.source.name]
return vim_item
end,
},
})
-67
View File
@@ -1,67 +0,0 @@
local map = vim.api.nvim_set_keymap
local opts = { noremap = true, silent = true }
-- Tabs shortcuts
map('n', '<A-,>', '<Cmd>BufferPrevious<CR>', opts)
map('n', '<A-.>', '<Cmd>BufferNext<CR>', opts)
map('n', '<A-1>', '<Cmd>BufferGoto 1<CR>', opts)
map('n', '<A-2>', '<Cmd>BufferGoto 2<CR>', opts)
map('n', '<A-3>', '<Cmd>BufferGoto 3<CR>', opts)
map('n', '<A-4>', '<Cmd>BufferGoto 4<CR>', opts)
map('n', '<A-5>', '<Cmd>BufferGoto 5<CR>', opts)
map('n', '<A-6>', '<Cmd>BufferGoto 6<CR>', opts)
map('n', '<A-7>', '<Cmd>BufferGoto 7<CR>', opts)
map('n', '<A-8>', '<Cmd>BufferGoto 8<CR>', opts)
map('n', '<A-9>', '<Cmd>BufferGoto 9<CR>', opts)
map('n', '<A-0>', '<Cmd>BufferLast<CR>', opts)
map('n', '<A-c>', '<Cmd>BufferClose<CR>', opts)
map('n', '<C-p>', '<Cmd>BufferPick<CR>', opts)
map('n', '<C-s-p>', '<Cmd>BufferPickDelete<CR>', opts)
map('n', '<Space>bb', '<Cmd>BufferOrderByBufferNumber<CR>', opts)
map('n', '<Space>bn', '<Cmd>BufferOrderByName<CR>', opts)
map('n', '<Space>bd', '<Cmd>BufferOrderByDirectory<CR>', opts)
map('n', '<Space>bl', '<Cmd>BufferOrderByLanguage<CR>', opts)
map('n', '<Space>bw', '<Cmd>BufferOrderByWindowNumber<CR>', opts)
-- Toggle Neotree
map('n', '<leader>e', ':Neotree toggle<CR>', opts)
-- Terminal
map('n', '<leader>t', ':terminal<CR>', opts)
--[[
-- Turn off arrow keys
vim.keymap.set("n", "<Up>", "<Nop>", opts)
vim.keymap.set("n", "<Down>", "<Nop>", opts)
vim.keymap.set("n", "<Left>", "<Nop>", opts)
vim.keymap.set("n", "<Right>", "<Nop>", opts)
vim.keymap.set("i", "<Up>", "<Nop>", opts)
vim.keymap.set("i", "<Down>", "<Nop>", opts)
vim.keymap.set("i", "<Left>", "<Nop>", opts)
vim.keymap.set("i", "<Right>", "<Nop>", opts)
-- To move around in insert mode with hjkl
vim.keymap.set("i", "<C-h>", "<Left>", opts)
vim.keymap.set("i", "<C-j>", "<Down>", opts)
vim.keymap.set("i", "<C-k>", "<Up>", opts)
vim.keymap.set("i", "<C-l>", "<Right>", opts)
vim.keymap.set("v", "<Up>", "<Nop>", opts)
vim.keymap.set("v", "<Down>", "<Nop>", opts)
vim.keymap.set("v", "<Left>", "<Nop>", opts)
vim.keymap.set("v", "<Right>", "<Nop>", opts)
vim.keymap.set("o", "<Up>", "<Nop>", opts)
vim.keymap.set("o", "<Down>", "<Nop>", opts)
vim.keymap.set("o", "<Left>", "<Nop>", opts)
vim.keymap.set("o", "<Right>", "<Nop>", opts)
vim.keymap.set("t", "<Up>", "<Nop>", opts)
vim.keymap.set("t", "<Down>", "<Nop>", opts)
vim.keymap.set("t", "<Left>", "<Nop>", opts)
vim.keymap.set("t", "<Right>", "<Nop>", opts)
--]]
-34
View File
@@ -1,34 +0,0 @@
-- Common on_attach handler
local on_attach = function(client, bufnr)
local opts = { buffer = bufnr }
vim.keymap.set("n", "gd", vim.lsp.buf.definition, opts)
vim.keymap.set("n", "K", vim.lsp.buf.hover, opts)
vim.keymap.set("n", "<leader>rn", vim.lsp.buf.rename, opts)
vim.keymap.set("n", "<leader>ca", vim.lsp.buf.code_action, opts)
end
-- Configure all your servers
vim.lsp.config("lua_ls", {
on_attach = on_attach,
settings = {
Lua = { diagnostics = { globals = { "vim" } } },
},
})
vim.lsp.config("pyright", { on_attach = on_attach })
vim.lsp.config("gopls", { on_attach = on_attach })
vim.lsp.config("clangd", { on_attach = on_attach })
vim.lsp.config("omnisharp", { on_attach = on_attach })
vim.lsp.config("jdtls", { on_attach = on_attach })
vim.lsp.config("ts_ls", { on_attach = on_attach })
vim.lsp.config("jsonls", { on_attach = on_attach })
vim.lsp.config("yamlls", { on_attach = on_attach })
-- Enable them all
for _, server in ipairs({
"lua_ls", "pyright", "gopls", "clangd",
"omnisharp", "jdtls", "ts_ls", "jsonls", "yamlls",
}) do
vim.lsp.enable(server)
end
-9
View File
@@ -1,9 +0,0 @@
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.tabstop = 2
vim.opt.shiftwidth = 2
vim.opt.expandtab = true
vim.opt.termguicolors = true
vim.opt.cursorline = true
vim.opt.mouse = "a"
vim.opt.clipboard:append('unnamedplus')
-93
View File
@@ -1,93 +0,0 @@
-- Bootstrap lazy.nvim if not installed
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git", "clone", "--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
lazypath
})
end
vim.opt.rtp:prepend(lazypath)
-- Plugins
require("lazy").setup({
-- Core
"nvim-lua/plenary.nvim",
-- UI
"nvim-lualine/lualine.nvim",
"nvim-tree/nvim-web-devicons",
-- Treesitter
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
-- Telescope
"nvim-telescope/telescope.nvim",
-- LSP
"neovim/nvim-lspconfig",
-- Themes
"folke/tokyonight.nvim",
{
'sainnhe/sonokai',
lazy = false,
priority = 1000,
config = function()
-- Optionally configure and load the colorscheme
-- directly inside the plugin declaration.
vim.g.sonokai_enable_italic = true
vim.cmd.colorscheme('sonokai')
end
},
-- Autocomplete
{
"hrsh7th/nvim-cmp",
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-path",
"hrsh7th/cmp-cmdline",
"L3MON4D3/LuaSnip",
"saadparwaiz1/cmp_luasnip",
"rafamadriz/friendly-snippets",
},
--[[ Markdown Render Page
{
'MeanderingProgrammer/render-markdown.nvim',
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.nvim'}, -- if you use the mini.nvim suite
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-mini/mini.icons' }, -- if you use standalone mini plugins
-- dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' }, -- if you prefer nvim-web-devicons
---@module 'render-markdown'
---@type render.md.UserConfig
opts = {},
},
--]]
-- Tabs
{ 'romgrk/barbar.nvim',
dependencies = {
'lewis6991/gitsigns.nvim', -- OPTIONAL: for git status
'nvim-tree/nvim-web-devicons', -- OPTIONAL: for file icons
},
init = function() vim.g.barbar_auto_setup = false end,
opts = {
-- lazy.nvim will automatically call setup for you. put your options here, anything missing will use the default:
-- animation = true,
-- insert_at_start = true,
-- …etc.
},
},
{
"nvim-neo-tree/neo-tree.nvim",
branch = "v3.x",
dependencies = {
"nvim-lua/plenary.nvim",
"MunifTanjim/nui.nvim",
"nvim-tree/nvim-web-devicons", -- optional, but recommended
},
lazy = false, -- neo-tree will lazily load itself
},
})
-25
View File
@@ -1,25 +0,0 @@
local telescope = require("telescope")
telescope.setup({
defaults = {
prompt_prefix = "🔍 ",
selection_caret = "",
path_display = { "smart" },
sorting_strategy = "ascending",
layout_config = { prompt_position = "top" },
},
pickers = {
find_files = {
hidden = true, -- show hidden files
},
},
})
-- Optional: keymaps for quick access
local builtin = require("telescope.builtin")
vim.keymap.set("n", "<leader>ff", builtin.find_files, { desc = "Find files" })
vim.keymap.set("n", "<leader>fg", builtin.live_grep, { desc = "Grep text" })
vim.keymap.set("n", "<leader>fb", builtin.buffers, { desc = "Find buffers" })
vim.keymap.set("n", "<leader>fh", builtin.help_tags, { desc = "Find help" })
vim.keymap.set("n", "<leader>fr", builtin.oldfiles, { desc = "Recent files" })
-16
View File
@@ -1,16 +0,0 @@
require("nvim-treesitter.configs").setup({
ensure_installed = {
-- Programming Languages
"lua", "python", "bash", "javascript", "typescript",
"go", "java", "c", "cpp", "c_sharp", "rust",
-- Web Languages
"html", "css", "scss", "json", "yaml", "toml", "xml",
-- Other formats
"markdown", "markdown_inline", "sql", "dockerfile", "gitignore"
},
highlight = { enable = true },
indent = { enable = true },
})
+20 -14
View File
@@ -8,16 +8,16 @@ set $term alacritty
set $menu wmenu-run -l 5 -N 000000ff -n ffffffff -M 00675aff -m ffffffff -S 00675aff -s ffffffff
# Workspace Names
set $ws1 "1: Code"
set $ws2 "2: Term"
set $ws3 "3: Term"
set $ws4 "4: VM"
set $ws5 "5: Web"
set $ws6 "6: Mail"
set $ws7 "7: Games"
set $ws8 "8: Other"
set $ws9 "9: Other"
set $ws10 "10: Other"
set $ws1 "1"
set $ws2 "2"
set $ws3 "3"
set $ws4 "4"
set $ws5 "5"
set $ws6 "6"
set $ws7 "7"
set $ws8 "8"
set $ws9 "9"
set $ws10 "10"
# Font
font pango:MesloLGL Nerd Font Mono 10
@@ -26,8 +26,8 @@ font pango:MesloLGL Nerd Font Mono 10
output * bg /home/agres/.config/sway/wallpaper/wallpaper.jpg fill
# Gaps
gaps inner 2
gaps outer 2
gaps inner 0
gaps outer 0
# Screen Locker
exec_always /home/agres/.config/sway/scripts/lock-sway.sh
@@ -36,6 +36,7 @@ exec_always /home/agres/.config/sway/scripts/lock-sway.sh
bindsym $mod+Return exec $term
bindsym $mod+Shift+q kill
bindsym $mod+d exec $menu
bindsym $mod+s exec ~/.local/bin/docpic-rofi
floating_modifier $mod normal
bindsym $mod+Shift+r reload
bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit'
@@ -161,13 +162,18 @@ input "1452:641:Apple_SPI_Trackpad" {
scroll_factor 0.3
}
input type:pointer {
accel_profile flat
pointer_accel -0.4
}
output eDP-1 {
scale 1.65
scale 1.85
scale_filter linear
}
# Opacity Settings
for_window [app_id="Alacritty"] opacity 0.98
for_window [app_id="Alacritty"] opacity 0.995
# Show a slightly thicker border so focused window color is more obvious
default_border pixel 3
+2 -2
View File
@@ -4,7 +4,7 @@ set -euo pipefail
IMG_PATH="${XDG_RUNTIME_DIR:-/tmp}/lock.png"
exec swayidle -w \
timeout 30 "grim -t png \"$IMG_PATH\" && magick \"$IMG_PATH\" -blur 0x12 \"$IMG_PATH\" && swaylock -f -i \"$IMG_PATH\"" \
timeout 600 'swaymsg "output * power off"' \
timeout 4800 "grim -t png \"$IMG_PATH\" && magick \"$IMG_PATH\" -blur 0x12 \"$IMG_PATH\" && swaylock -f -i \"$IMG_PATH\"" \
timeout 4810 'swaymsg "output * power off"' \
resume 'swaymsg "output * power on"' \
before-sleep "grim -t png \"$IMG_PATH\" && magick \"$IMG_PATH\" -blur 0x12 \"$IMG_PATH\" && swaylock -f -i \"$IMG_PATH\""
+3 -3
View File
@@ -17,11 +17,11 @@ TIME=$(date "+%d.%m %H:%M")
#BRIGHT=$(echo "$(brightnessctl get) / 4.2" | bc)
VPN_STATUS=$(mullvad status 2>/dev/null | grep -q '^Connected' && echo UP || echo DOWN)
LAB_STATUS=$(ping -c1 -W1 192.168.0.200 >/dev/null 2>&1 && echo UP || echo DOWN )
#VPN_STATUS=$(mullvad status 2>/dev/null | grep -q '^Connected' && echo U || echo D)
LAB_STATUS=$(ping -c1 -W1 192.168.0.200 >/dev/null 2>&1 && echo U || echo D )
UPTIME=$(awk '{t=int($1); d=t/86400; h=(t%86400)/3600; m=(t%3600)/60; if(d>0) printf "%dd %02d:%02dh\n", d,h,m; else printf "%02d:%02dh\n", h,m}' /proc/uptime)
POWER=$(powerprofilesctl get | tr '[:lower:]' '[:upper:]')
echo "$USER | UPT: $UPTIME | POW: $POWER | LAB: $LAB_STATUS | VPN: $VPN_STATUS | CPU: $CPU | MEM: $MEM | BAT: $BAT | $TIME "
echo "$USER | UPT: $UPTIME | POW: $POWER | LAB: $LAB_STATUS | CPU: $CPU | MEM: $MEM | BAT: $BAT | $TIME "
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 MiB

+2
View File
@@ -0,0 +1,2 @@
set -g mouse on
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
+1
View File
@@ -0,0 +1 @@
set selection-clipboard clipboard
+58 -90
View File
@@ -1,105 +1,73 @@
// Zed settings
//
// For information on how to configure Zed, see the Zed
// documentation: https://zed.dev/docs/configuring-zed
//
// To see all of Zed's default settings without changing your
// custom settings, run `zed: open default settings` from the
// command palette (cmd-shift-p / ctrl-shift-p)
{
// Global Telemetry Settings
"telemetry": {
"diagnostics": false,
"metrics": false
"go_to_definition_fallback": "find_all_references",
"linked_edits": true,
"toolbar": {
"agent_review": false
},
// Behaviour
"tab_size": 2,
"vim_mode": true,
"format_on_save": "off",
"autosave": "on_focus_change",
// Theme / Visual Settings
"icon_theme": {
"mode": "dark",
"light": "Zed (Default)",
"dark": "Zed (Default)"
},
"theme": {
"mode": "dark",
"light": "Gruvbox Light",
"dark": "Gruvbox Dark Hard"
},
"ui_font_size": 16.0,
"buffer_font_size": 13.0,
"soft_wrap": "editor_width",
// Indentation
"indent_guides": {
"enabled": true,
"coloring": "indent_aware"
},
// Relative line numbers (vim)
"relative_line_numbers": "enabled",
// Further Visual Settings
"tab_bar": {
"show": true
"minimap": {
"show": "never"
},
"scrollbar": {
"show": "never"
},
// Predictions
"show_edit_predictions": false,
// Language Settings
"languages": {
"Go": {
"show_edit_predictions": false
}
"relative_line_numbers": "enabled",
"tab_size": 2,
"project_panel": {
"dock": "left"
},
// File syntax highlight
"file_types": {
"Dockerfile": ["Dockerfile", "Dockerfile.*"],
"JSON": ["json", "jsonc", "*.code-snippets"],
"outline_panel": {
"dock": "left"
},
// Agent / LLM Settings
"language_models": {
"ollama": {
"api_url": "http://localhost:11434",
"available_models": [
{
"name": "qwen2.5-coder:14b-instruct-q4_0",
"display_name": "Qwen2.5 Coder 14B Instruct (Q4_0)",
"max_tokens": 32768,
"supports_tools": false,
"supports_thinking": false
}
]
}
"collaboration_panel": {
"dock": "left"
},
"agent": {
"default_profile": "write",
"default_model": {
"provider": "copilot_chat",
"model": "gpt-5-mini"
},
"dock": "right",
"favorite_models": [],
"model_parameters": []
},
// LLM Inline Prediction
"edit_predictions": {
"provider": "copilot"
"git_panel": {
"dock": "left"
},
// LSP Server Settings
"lsp": {
"texlab": {
"settings": {
"texlab": {
"build": {
"onSave": false
"soft_wrap": "editor_width",
"format_on_save": "off",
"autosave": "on_focus_change",
"inlay_hints": {
"enabled": false,
"show_value_hints": true,
"show_type_hints": true,
"show_parameter_hints": true,
"show_other_hints": true,
"show_background": false,
"edit_debounce_ms": 700,
"scroll_debounce_ms": 50,
"toggle_on_modifiers_press": {
"control": false,
"alt": false,
"shift": false,
"platform": false,
"function": false
}
},
"telemetry": {
"diagnostics": false,
"metrics": false
},
"vim_mode": true,
"icon_theme": "Zed (Default)",
"ui_font_size": 15.0,
"buffer_font_size": 15,
"theme": {
"mode": "dark",
"light": "Gruvbox Light",
"dark": "Ayu Dark"
}
}
}
}
}
}
+27
View File
@@ -2,6 +2,7 @@
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="eastwood"
HIST_STAMPS="dd.mm.yyyy"
RPROMPT='%{$fg[cyan]%}%n:%m%{$reset_color%}'
plugins=(git sudo)
# Load sources
@@ -56,6 +57,21 @@ alias tk='tmux kill-session -t'
# Pdf alias
alias pdf='zathura'
alias pdf-edit='okular'
# SSH Aliases
alias vps01='tmux new-session -s vps01 "ssh agres@agres.online"'
alias vps02='tmux new-session -s vps02 "ssh agres@agres.cloud"'
alias pve01='tmux new-session -s pve01 "ssh agres@192.168.0.200"'
# Slop Alias
claude() {
if [ $# -eq 0 ]; then
tmux new-session -s claude "claude"
else
command claude "$@"
fi
}
# GPG TTY Fix
export GPG_TTY=$(tty)
@@ -67,3 +83,14 @@ export LS_COLORS
# Add local and global bin files to path
export PATH="/home/agres/.npm-global/bin:$PATH"
export PATH="$HOME/.local/bin:$PATH"
# Brew Setup
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv zsh)"
# Certificate for agres.site used by bitwarden cli
export NODE_EXTRA_CA_CERTS="$HOME/.config/bitwarden-certs/vaultwarden-agres-site.pem"
# Atuin
. "$HOME/.atuin/bin/env"
eval "$(atuin init zsh)"
+7
View File
@@ -9,3 +9,10 @@ export GOBIN=$HOME/.local/go/bin
export PATH=$PATH:$GOBIN
export PATH="$HOME/.local/bin:$PATH"
# Shell function to turn on pc
pc() {
ssh -T root@192.168.0.254 'bash /root/wakeup.sh'
}
alias copy='wl-copy --type text/plain <'
alias copyimg='wl-copy --type image/png <'