From fc2a7829c8f797eb30eb608613cb25e537dbb5e6 Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Wed, 8 Nov 2023 10:29:04 -0500 Subject: [PATCH 01/27] Add brew opt bin to path --- dot_config/nushell/env.nu | 1 + 1 file changed, 1 insertion(+) diff --git a/dot_config/nushell/env.nu b/dot_config/nushell/env.nu index 5991d5d6..47b116db 100644 --- a/dot_config/nushell/env.nu +++ b/dot_config/nushell/env.nu @@ -6,5 +6,6 @@ $env.PATH = ( $env.PATH | split row (char esep) | prepend "/usr/local/bin" + | prepend "/opt/homebrew/bin" | prepend ($env.HOME | path join '.local' 'bin') ) From 1066f4b2ddec45a7d8c12c701420950c95171399 Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Wed, 8 Nov 2023 10:07:45 -0500 Subject: [PATCH 02/27] Link default nushell config directory --- private_Library/private_Application Support/symlink_nushell.tmpl | 1 + 1 file changed, 1 insertion(+) create mode 100644 private_Library/private_Application Support/symlink_nushell.tmpl diff --git a/private_Library/private_Application Support/symlink_nushell.tmpl b/private_Library/private_Application Support/symlink_nushell.tmpl new file mode 100644 index 00000000..b17e5b0c --- /dev/null +++ b/private_Library/private_Application Support/symlink_nushell.tmpl @@ -0,0 +1 @@ +{{ env "HOME" }}/.config/nushell From c04066b0b5528e3eb54c001c12dca4c07357cecd Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Wed, 8 Nov 2023 18:31:01 -0500 Subject: [PATCH 03/27] Source profile --- dot_config/nushell/env.nu | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dot_config/nushell/env.nu b/dot_config/nushell/env.nu index 47b116db..f3df90f9 100644 --- a/dot_config/nushell/env.nu +++ b/dot_config/nushell/env.nu @@ -1,5 +1,12 @@ source ~/.local/share/nushell/default_env.nu +bash -c $"source ($env.HOME)/.profile && env" + | lines + | parse "{name}={value}" + | transpose --header-row + | into record + | load-env + $env.NU_LIB_DIRS = ($env.NU_LIB_DIRS | default [] | append ($env.HOME | path join ".config" "nushell" "scripts")) $env.PATH = ( From a234b6af87ed5bcd9e3e7e0b5698f6e93fe725c3 Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Wed, 8 Nov 2023 18:33:18 -0500 Subject: [PATCH 04/27] Add PATH to profile --- dot_profile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dot_profile b/dot_profile index dc7949e0..09ed29d5 100644 --- a/dot_profile +++ b/dot_profile @@ -15,3 +15,5 @@ export XDG_PUBLICSHARE_DIR="$HOME/Public" export XDG_TEMPLATES_DIR="$HOME/Templates" export XDG_VIDEOS_DIR="$HOME/Videos" +# PATH +export PATH="$HOME/.local/bin:/opt/homebrew/bin:/usr/local/bin:$PATH" From 915745b70a0d7a45e34cbada9c47ff2be80d433c Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Wed, 8 Nov 2023 18:33:42 -0500 Subject: [PATCH 05/27] Remove PATH --- dot_config/nushell/env.nu | 7 ------- 1 file changed, 7 deletions(-) diff --git a/dot_config/nushell/env.nu b/dot_config/nushell/env.nu index f3df90f9..6e4e71ac 100644 --- a/dot_config/nushell/env.nu +++ b/dot_config/nushell/env.nu @@ -9,10 +9,3 @@ bash -c $"source ($env.HOME)/.profile && env" $env.NU_LIB_DIRS = ($env.NU_LIB_DIRS | default [] | append ($env.HOME | path join ".config" "nushell" "scripts")) -$env.PATH = ( - $env.PATH - | split row (char esep) - | prepend "/usr/local/bin" - | prepend "/opt/homebrew/bin" - | prepend ($env.HOME | path join '.local' 'bin') -) From 264a70a1db1143883516083f9e6f401ff97b7e80 Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Wed, 8 Nov 2023 18:38:07 -0500 Subject: [PATCH 06/27] Filter env vars --- dot_config/nushell/env.nu | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dot_config/nushell/env.nu b/dot_config/nushell/env.nu index 6e4e71ac..0a18169b 100644 --- a/dot_config/nushell/env.nu +++ b/dot_config/nushell/env.nu @@ -3,6 +3,8 @@ source ~/.local/share/nushell/default_env.nu bash -c $"source ($env.HOME)/.profile && env" | lines | parse "{name}={value}" + | filter { |var| (not $var.name in $env) or $var.value != ($env | get $var.name) } + | where not name in ["_", "LAST_EXIT_CODE", "DIRS_POSITION"] | transpose --header-row | into record | load-env From 44ffb9b8e7d6f67f2101a72e895832c2b9846f64 Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Wed, 8 Nov 2023 18:41:18 -0500 Subject: [PATCH 07/27] Drop NU_LIB_DIRS override --- dot_config/nushell/env.nu | 2 -- 1 file changed, 2 deletions(-) diff --git a/dot_config/nushell/env.nu b/dot_config/nushell/env.nu index 0a18169b..c17f5fbc 100644 --- a/dot_config/nushell/env.nu +++ b/dot_config/nushell/env.nu @@ -9,5 +9,3 @@ bash -c $"source ($env.HOME)/.profile && env" | into record | load-env -$env.NU_LIB_DIRS = ($env.NU_LIB_DIRS | default [] | append ($env.HOME | path join ".config" "nushell" "scripts")) - From 52dd5aef4c4c233d67badb46df881dbd23bc624a Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Thu, 9 Nov 2023 12:45:58 -0500 Subject: [PATCH 08/27] Use static path --- dot_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_profile b/dot_profile index 09ed29d5..3c2e88e6 100644 --- a/dot_profile +++ b/dot_profile @@ -16,4 +16,4 @@ export XDG_TEMPLATES_DIR="$HOME/Templates" export XDG_VIDEOS_DIR="$HOME/Videos" # PATH -export PATH="$HOME/.local/bin:/opt/homebrew/bin:/usr/local/bin:$PATH" +export PATH="$HOME/.local/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin" From 15365c11698382209f7891bee9ea7ac5055b417c Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Sun, 12 Nov 2023 13:17:00 -0500 Subject: [PATCH 09/27] Auto commit and push --- dot_config/chezmoi/chezmoi.toml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 dot_config/chezmoi/chezmoi.toml diff --git a/dot_config/chezmoi/chezmoi.toml b/dot_config/chezmoi/chezmoi.toml new file mode 100644 index 00000000..464b0203 --- /dev/null +++ b/dot_config/chezmoi/chezmoi.toml @@ -0,0 +1,4 @@ +[git] + autoCommit = true + autoPush = true + From c4dd48fe9cd2a22eae40410f1f318503b0149f42 Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Sun, 12 Nov 2023 14:49:00 -0500 Subject: [PATCH 10/27] Update ingored files --- .chezmoiignore | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.chezmoiignore b/.chezmoiignore index 7efa37d1..60407e31 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -1,7 +1,7 @@ .git .tea +.pkgx .local -.chezmoi .hyperfine.js bin docker-compose.yaml @@ -12,6 +12,7 @@ entrypoint.sh README.md # Cache +.cache .dccache .cs_cache .pnpm-state @@ -31,7 +32,9 @@ README.md .config/zsh/.zcompdump* # SSH -.ssh/known_hosts +.ssh/id_rsa +.ssh/id_rsa.pub +.ssh/known_hosts* .ssh/environment- .ssh/codespaces.auto .ssh/codespaces.auto.pub @@ -49,6 +52,7 @@ README.md .config/zsh/.zsh_sessions .zsh_sessions .config/nushell/history.txt +.config/nushell/history.sqlite* # VIM .vim @@ -100,7 +104,6 @@ Public Support # Extra files -.config/chezmoi .config/coc .config/containers .config/docker @@ -115,6 +118,7 @@ Support # Cache in config .config/todoist .config/tmux/plugins +.config/chezmoi/chezmoistate.boltdb # Unmanaged .actrc From 9cbcf78dc003c13f420834ad04019256f11e615f Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Mon, 13 Nov 2023 10:16:28 -0500 Subject: [PATCH 11/27] Ignore code --- .chezmoiignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.chezmoiignore b/.chezmoiignore index 60407e31..ffd07b39 100644 --- a/.chezmoiignore +++ b/.chezmoiignore @@ -142,5 +142,6 @@ Support **/.DS_Store +Code GitHub OrbStack From 68604c0cb64b85911d5506ffa2debdc88d643618 Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Mon, 13 Nov 2023 10:16:38 -0500 Subject: [PATCH 12/27] Update .profile --- dot_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_profile b/dot_profile index 3c2e88e6..6d29fa9b 100644 --- a/dot_profile +++ b/dot_profile @@ -16,4 +16,4 @@ export XDG_TEMPLATES_DIR="$HOME/Templates" export XDG_VIDEOS_DIR="$HOME/Videos" # PATH -export PATH="$HOME/.local/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin" +export PATH="$HOME/.local/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin" From 51b18a8d79ec0af7dcfa1c9ae32688101a694ffa Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Mon, 13 Nov 2023 10:22:49 -0500 Subject: [PATCH 13/27] Add .config/zellij/config.kdl Remove .config/zellij/config.kdl --- dot_config/zellij/config.kdl | 2 ++ dot_config/zellij/empty_config.kdl | 0 2 files changed, 2 insertions(+) create mode 100644 dot_config/zellij/config.kdl delete mode 100644 dot_config/zellij/empty_config.kdl diff --git a/dot_config/zellij/config.kdl b/dot_config/zellij/config.kdl new file mode 100644 index 00000000..725b5355 --- /dev/null +++ b/dot_config/zellij/config.kdl @@ -0,0 +1,2 @@ +simplified_ui true + diff --git a/dot_config/zellij/empty_config.kdl b/dot_config/zellij/empty_config.kdl deleted file mode 100644 index e69de29b..00000000 From 92eca27e1ccc6a7dd07b91b8f9c80b89499782be Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Mon, 13 Nov 2023 11:20:09 -0500 Subject: [PATCH 14/27] Update .config/nushell/scripts/aliases.nu --- dot_config/nushell/scripts/aliases.nu | 1 + 1 file changed, 1 insertion(+) diff --git a/dot_config/nushell/scripts/aliases.nu b/dot_config/nushell/scripts/aliases.nu index 31064bbc..45ded1dd 100644 --- a/dot_config/nushell/scripts/aliases.nu +++ b/dot_config/nushell/scripts/aliases.nu @@ -40,6 +40,7 @@ export alias stash = git stash export alias wip = git commit -am "WIP" export alias fixup = git commit --fixup export alias unpushed = git log --branches --not --remotes --no-walk --decorate --oneline +export def unclean [] { gfold -d json ~/Code | from json | where status != Clean } export alias vi = hx export alias vim = vi From c35f20aa1ccb4f9e88fecce0263d22d6ed389dd9 Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Mon, 13 Nov 2023 11:29:26 -0500 Subject: [PATCH 15/27] Update .config/nushell/config.nu Add .config/nushell/scripts/theme.nu --- dot_config/nushell/config.nu | 2 ++ dot_config/nushell/scripts/theme.nu | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 dot_config/nushell/scripts/theme.nu diff --git a/dot_config/nushell/config.nu b/dot_config/nushell/config.nu index b889aad7..efeeaaaa 100644 --- a/dot_config/nushell/config.nu +++ b/dot_config/nushell/config.nu @@ -7,7 +7,9 @@ $env.config = ( | upsert history.isolation true ) + use xdg.nu +use theme.nu use ls_colors.nu overlay use git.nu overlay use aliases.nu diff --git a/dot_config/nushell/scripts/theme.nu b/dot_config/nushell/scripts/theme.nu new file mode 100644 index 00000000..db8c5b8e --- /dev/null +++ b/dot_config/nushell/scripts/theme.nu @@ -0,0 +1,9 @@ +module theme { + export def dark [] { + $env.config.color_config = $dark_theme + } + + export def light [] { + $env.config.color_config = $light_theme + } +} From e2a3893b702c1a095ddfa40e4c909467ed0a466f Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Mon, 13 Nov 2023 11:37:18 -0500 Subject: [PATCH 16/27] Update .config/git/config --- dot_config/git/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dot_config/git/config b/dot_config/git/config index 89dc8cb0..d34d2bf7 100644 --- a/dot_config/git/config +++ b/dot_config/git/config @@ -34,6 +34,10 @@ clean = git-lfs clean -- %f smudge = git-lfs smudge -- %f +[user] + name = Jason Morganson + email = 128727+jasonmorganson@users.noreply.github.com + [credential "https://github.com"] helper = helper = !gh auth git-credential From b67c9f4374b8c542d5db227fb77a1e9ccd03104d Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Sun, 12 Nov 2023 12:41:26 -0500 Subject: [PATCH 17/27] Clone alacritty-theme --- .chezmoiexternal.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.chezmoiexternal.toml b/.chezmoiexternal.toml index e5c11da1..c7b817b6 100644 --- a/.chezmoiexternal.toml +++ b/.chezmoiexternal.toml @@ -1,3 +1,7 @@ +[".local/share/alacritty/alacritty-theme"] +type = "git-repo" +url = "https://github.com/alacritty/alacritty-theme" + [".local/share/nushell/default_env.nu"] type = "file" url = "https://raw.githubusercontent.com/nushell/nushell/0.86.0/crates/nu-utils/src/sample_config/default_env.nu" From 72db0ff9d7270dc14a4ce0cd09e76080e70be3ae Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Sun, 12 Nov 2023 13:00:56 -0500 Subject: [PATCH 18/27] WIP --- dot_config/alacritty/alacritty.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dot_config/alacritty/alacritty.yml b/dot_config/alacritty/alacritty.yml index 68164705..682a45fa 100644 --- a/dot_config/alacritty/alacritty.yml +++ b/dot_config/alacritty/alacritty.yml @@ -1,3 +1,11 @@ window: option_as_alt: Both +import: + - ~/.local/share/alacritty/alacritty-theme/themes/catppuccin_latte.yaml + +font: + normal: + family: Hack + +live_config_reload: true From 2c4100878445d1064d741a11cd101cf94a9bd915 Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Mon, 13 Nov 2023 15:06:18 -0500 Subject: [PATCH 19/27] Remove theme --- dot_config/alacritty/alacritty.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/dot_config/alacritty/alacritty.yml b/dot_config/alacritty/alacritty.yml index 682a45fa..4197c915 100644 --- a/dot_config/alacritty/alacritty.yml +++ b/dot_config/alacritty/alacritty.yml @@ -1,9 +1,6 @@ window: option_as_alt: Both -import: - - ~/.local/share/alacritty/alacritty-theme/themes/catppuccin_latte.yaml - font: normal: family: Hack From a06559eeca0fcaf119efac085f934f2cf36655d1 Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Wed, 8 Nov 2023 17:40:39 -0500 Subject: [PATCH 20/27] Set brew bundle file location --- dot_profile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dot_profile b/dot_profile index 6d29fa9b..c605e779 100644 --- a/dot_profile +++ b/dot_profile @@ -17,3 +17,7 @@ export XDG_VIDEOS_DIR="$HOME/Videos" # PATH export PATH="$HOME/.local/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin" + +# Homebrew +export HOMEBREW_BUNDLE_FILE="~/Library/Mobile\ Documents/com~apple~CloudDocs/Homebrew/Brewfile" + From 99854de9dd7a640a32b4ce378aed1e4e42874e8e Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Wed, 8 Nov 2023 18:00:05 -0500 Subject: [PATCH 21/27] Configure topgrade to dump the brew bundle --- dot_config/topgrade/topgrade.toml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 dot_config/topgrade/topgrade.toml diff --git a/dot_config/topgrade/topgrade.toml b/dot_config/topgrade/topgrade.toml new file mode 100644 index 00000000..e63a98cc --- /dev/null +++ b/dot_config/topgrade/topgrade.toml @@ -0,0 +1,5 @@ +[misc] + +# Commands to run after anything +[post_commands] +"Update brew bundle" = "/opt/homebrew/bin/brew bundle dump --force --file /Users/jasonmorganson/Library/Mobile Documents/com~apple~CloudDocs/Homebrew/Brewfile" From 19e6a672d581e0f1def5badbaf38bf21aa122a3c Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Wed, 8 Nov 2023 18:19:11 -0500 Subject: [PATCH 22/27] Skip end notification --- dot_config/topgrade/topgrade.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dot_config/topgrade/topgrade.toml b/dot_config/topgrade/topgrade.toml index e63a98cc..62c7e3f1 100644 --- a/dot_config/topgrade/topgrade.toml +++ b/dot_config/topgrade/topgrade.toml @@ -1,5 +1,8 @@ [misc] +# Skip sending a notification at the end of a run (default: false) +skip_notify = true + # Commands to run after anything [post_commands] "Update brew bundle" = "/opt/homebrew/bin/brew bundle dump --force --file /Users/jasonmorganson/Library/Mobile Documents/com~apple~CloudDocs/Homebrew/Brewfile" From 272cfe7bd4457745673059196d30a3e78706b3fb Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Wed, 8 Nov 2023 18:04:27 -0500 Subject: [PATCH 23/27] Auto run topgrade --- .../io.github.topgrade-rs.topgrade.plist | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 private_Library/LaunchAgents/io.github.topgrade-rs.topgrade.plist diff --git a/private_Library/LaunchAgents/io.github.topgrade-rs.topgrade.plist b/private_Library/LaunchAgents/io.github.topgrade-rs.topgrade.plist new file mode 100644 index 00000000..66668224 --- /dev/null +++ b/private_Library/LaunchAgents/io.github.topgrade-rs.topgrade.plist @@ -0,0 +1,25 @@ + + + + + Label + io.github.topgrade-rs.topgrade + + ProgramArguments + + /opt/homebrew/bin/topgrade + + + StartInterval + 10800 + + RunAtLoad + + + StandardErrorPath + /tmp/io.github.topgrade-rs.topgrade/err + + StandardOutPath + /tmp/io.github.topgrade-rs.topgrade/out + + From c4fdaccf2962c50facffef1b8c0c831b8f20d414 Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Mon, 13 Nov 2023 15:19:37 -0500 Subject: [PATCH 24/27] Update .config/topgrade/topgrade.toml --- dot_config/topgrade/topgrade.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/dot_config/topgrade/topgrade.toml b/dot_config/topgrade/topgrade.toml index 62c7e3f1..bac0c857 100644 --- a/dot_config/topgrade/topgrade.toml +++ b/dot_config/topgrade/topgrade.toml @@ -1,3 +1,17 @@ +[git] + +# Git repositories that you want to pull and push +repos = [ + "~/Code/*/**", + "~/.local/share/chezmoi" +] + +# Arguments to pass Git when pulling repositories +pull_arguments = "--rebase --autostash" + +# Arguments to pass Git when pushing repositories +push_arguments = "--all" + [misc] # Skip sending a notification at the end of a run (default: false) From 0fd3c0d8ca606b2030597f720c3208e04189328e Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Mon, 13 Nov 2023 15:21:57 -0500 Subject: [PATCH 25/27] Remove backslash --- dot_profile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot_profile b/dot_profile index c605e779..641dc0d7 100644 --- a/dot_profile +++ b/dot_profile @@ -19,5 +19,5 @@ export XDG_VIDEOS_DIR="$HOME/Videos" export PATH="$HOME/.local/bin:/opt/homebrew/bin:/usr/local/bin:/usr/bin:/usr/sbin:/bin:/sbin" # Homebrew -export HOMEBREW_BUNDLE_FILE="~/Library/Mobile\ Documents/com~apple~CloudDocs/Homebrew/Brewfile" +export HOMEBREW_BUNDLE_FILE="~/Library/Mobile Documents/com~apple~CloudDocs/Homebrew/Brewfile" From e310770d05f73e8d3adb88c204eaf31e53c69a81 Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Mon, 6 Nov 2023 23:24:30 -0500 Subject: [PATCH 26/27] WIP --- dot_ssh/config | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/dot_ssh/config b/dot_ssh/config index 3945feb1..019190f0 100644 --- a/dot_ssh/config +++ b/dot_ssh/config @@ -4,3 +4,29 @@ Host * AddKeysToAgent yes SetEnv TERM=xterm-256color +Host jason-testing-prod-1 + HostName jason-testing-prod-1 + User ubuntu + IdentityFile ./LightsailDefaultKey-us-east-1.pem + RequestTTY force + RemoteCommand tmux attach + +Host bucephalus-platform-dev-2 + HostName bucephalus-platform-dev-2 + User ubuntu + IdentityFile ./LightsailDefaultKey-us-east-1.pem + RequestTTY force + RemoteCommand tmux attach + +Host bucephalus-platform-prod + HostName bucephalus-platform-prod + User ubuntu + IdentityFile ./LightsailDefaultKey-us-east-1.pem + RequestTTY force + RemoteCommand tmux attach + +Host imapsync + HostName imapsync + User jasonmorganson + RequestTTY force + RemoteCommand zellij attach --create From cad3989629c385659347ceded2d92e68b8d99db4 Mon Sep 17 00:00:00 2001 From: Jason Morganson <128727+jasonmorganson@users.noreply.github.com> Date: Mon, 6 Nov 2023 23:20:53 -0500 Subject: [PATCH 27/27] WIP --- dot_config/nushell/scripts/aliases.nu | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dot_config/nushell/scripts/aliases.nu b/dot_config/nushell/scripts/aliases.nu index 45ded1dd..ced02c87 100644 --- a/dot_config/nushell/scripts/aliases.nu +++ b/dot_config/nushell/scripts/aliases.nu @@ -1,3 +1,6 @@ +# https://www.nushell.sh/book/aliases.html#piping-in-aliases +def lsg [] { ls | sort-by type name -i | grid -c | str trim } + export alias l = ls export alias ls = ls export alias la = ls -a