From a1262e9fba5303cb0be4bcbf6124cae01fbce02d Mon Sep 17 00:00:00 2001 From: David Tomaschik Date: Sat, 21 Feb 2026 11:37:04 -0800 Subject: [PATCH] ZSH updates --- dotfiles/config/Code/User/settings.json | 3 ++- dotfiles/config/htop/htoprc | 11 ++++++----- dotfiles/zprofile | 6 ++++++ dotfiles/zshenv | 6 +++++- 4 files changed, 19 insertions(+), 7 deletions(-) create mode 100644 dotfiles/zprofile diff --git a/dotfiles/config/Code/User/settings.json b/dotfiles/config/Code/User/settings.json index 6183937..6c9294c 100644 --- a/dotfiles/config/Code/User/settings.json +++ b/dotfiles/config/Code/User/settings.json @@ -2,5 +2,6 @@ "editor.accessibilitySupport": "off", "telemetry.telemetryLevel": "off", "dotfiles.repository": "matir/skel", - "dotfiles.targetPath": "~/.skel" + "dotfiles.targetPath": "~/.skel", + "remote.defaultExtensionsIfInstalledLocally": [] } diff --git a/dotfiles/config/htop/htoprc b/dotfiles/config/htop/htoprc index 5b22607..7c5bed1 100644 --- a/dotfiles/config/htop/htoprc +++ b/dotfiles/config/htop/htoprc @@ -1,6 +1,6 @@ # Beware! This file is rewritten by htop when settings are changed in the interface. # The parser is also very primitive, and not human-friendly. -htop_version=3.2.2 +htop_version=3.4.1-3.4.1 config_reader_min_version=3 fields=0 48 17 18 38 39 40 2 46 47 49 1 hide_kernel_threads=1 @@ -27,6 +27,7 @@ show_cpu_usage=1 show_cpu_frequency=0 show_cpu_temperature=0 degree_fahrenheit=0 +show_cached_memory=1 update_process_names=0 account_guest_in_cpu_meter=0 color_scheme=6 @@ -39,25 +40,25 @@ column_meter_modes_0=1 1 1 column_meters_1=Tasks LoadAverage Uptime column_meter_modes_1=2 2 2 tree_view=0 -sort_key=47 +sort_key=46 tree_sort_key=0 sort_direction=-1 tree_sort_direction=1 tree_view_always_by_pid=0 all_branches_collapsed=0 screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command -.sort_key=PERCENT_MEM +.sort_key=PERCENT_CPU .tree_sort_key=PID -.tree_view=0 .tree_view_always_by_pid=0 +.tree_view=0 .sort_direction=-1 .tree_sort_direction=1 .all_branches_collapsed=0 screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command .sort_key=IO_RATE .tree_sort_key=PID -.tree_view=0 .tree_view_always_by_pid=0 +.tree_view=0 .sort_direction=-1 .tree_sort_direction=1 .all_branches_collapsed=0 diff --git a/dotfiles/zprofile b/dotfiles/zprofile new file mode 100644 index 0000000..6925a78 --- /dev/null +++ b/dotfiles/zprofile @@ -0,0 +1,6 @@ +# this is only run in login shells, both interactive and non-interactive +if [[ ! -o interactive ]]; then + if command -v mise 2>&1 ; then + eval "$(mise activate zsh --shims)" + fi +fi diff --git a/dotfiles/zshenv b/dotfiles/zshenv index 5503657..3bfee03 100755 --- a/dotfiles/zshenv +++ b/dotfiles/zshenv @@ -1,4 +1,8 @@ -if [[ -f $HOME/.env ]] ; then source $HOME/.env ; fi +if [[ -f $HOME/.shenv ]] ; then source $HOME/.shenv ; fi # ZSH specific environment DEBIAN_PREVENT_KEYBOARD_CHANGES=yes + +if test -d ${HOME}/.local/bin ; then + PATH="${HOME}/.local/bin:${PATH}" +fi