Compare commits

...

5 commits

Author SHA1 Message Date
Lockszmith (cs-dbg@VAST)
8422f90ef4 update _home.macos symlinks 2025-06-05 20:00:10 +00:00
Lockszmith (cs-dbg@VAST)
1f008bdfec potentially safer nvim symlink 2025-06-05 19:59:17 +00:00
Lockszmith (cs-dbg@VAST)
231970542c cleaup load-zellij 2025-06-05 19:58:29 +00:00
Lockszmith (cs-dbg@VAST)
48c715529d Add fast-syntax-highlighting zsh plugin 2025-06-05 19:57:26 +00:00
Lockszmith (cs-dbg@VAST)
10caf105be load complete-alias on bash only
but make it zsh code compatible in case you want to try and load it on zsh
2025-06-05 19:47:40 +00:00
9 changed files with 21 additions and 2 deletions

View file

@ -0,0 +1 @@
../../../_home/private_dot_config/sz.env/011_zsh_2_znap.env.zsh

View file

@ -0,0 +1 @@
../../../_home/private_dot_config/sz.env/091_load_complete-alias.env.bash

View file

@ -0,0 +1 @@
../../../_home/private_dot_config/sz.env/remove_011_zsh_2_zinit.env.zsh

View file

@ -0,0 +1 @@
../../../_home/private_dot_config/sz.env/remove_091_load_complete-alias.env

View file

@ -24,7 +24,7 @@ else
# bindkey -M menuselect '^[[C' .forward-char '^[OC' .forward-char
# `znap install` adds new commands and completions.
znap install aureliojargas/clitest zsh-users/zsh-completions
znap install aureliojargas/clitest zsh-users/zsh-completions zdharma-continuum/fast-syntax-highlighting
fi
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:

View file

@ -0,0 +1,11 @@
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
if [ -f "$SZ_ENV_ROOT/lib/complete-alias" ]; then
source <(sed -Ee 's/\(\( "\$COMPAL_AUTO_UNMASK"/(( \${COMPAL_AUTO_UNMASK:-0}/g' "$SZ_ENV_ROOT/lib/complete-alias") --noattach
fi
if [[ -n "${DBG}" && -n "$( command -v _complete_alias )" ]]; then
echo "complete-alias will be loaded."
fi
# vim: set ft=sh expandtab tabstop=4 shiftwidth=4:

View file

@ -105,7 +105,7 @@ ${SET_X-:} -x
# Was needed when zsh would load
# . <( zellij setup --generate-completion "$BASE_SHELL" | sed -ne '/^function/,$p' )
if [[ -z "$ZELLIJ_SESSION_NAME" ]]; then
zellij attach -c $USER@$(hostname)
zellij
fi
elif [[ "$1" == '-' ]]; then

View file

@ -1 +1,5 @@
{{- if stat (list (env "HOME") "/.local/bin/squashfs-root/usr/bin/nvim" | join "/") -}}
squashfs-root/usr/bin/nvim
{{- else -}}
nvim.AppImage
{{- end -}}