Update a lot of stuff, bad tracking, but need to update
This commit is contained in:
parent
36bda85561
commit
965d9f030f
17 changed files with 68 additions and 31 deletions
|
@ -4,7 +4,7 @@ if [ -n "$ZI_HOME" ]; then
|
|||
zinit light 'marlonrichert/zsh-autocomplete'
|
||||
zinit light 'zsh-users/zsh-autosuggestions'
|
||||
else
|
||||
znap source 'marlonrichert/zsh-autocomplete'
|
||||
#znap source 'marlonrichert/zsh-autocomplete'
|
||||
znap source 'zsh-users/zsh-autosuggestions'
|
||||
|
||||
# Make Tab and ShiftTab cycle completions on the command line
|
||||
|
@ -12,12 +12,12 @@ else
|
|||
# bindkey "$terminfo[kcbt]" reverse-menu-complete
|
||||
|
||||
# Make Tab and ShiftTab go to the menu
|
||||
bindkey '^I' menu-select
|
||||
bindkey "$terminfo[kcbt]" menu-select
|
||||
bindkey '^I' menu-select
|
||||
[ -z "$terminfo[kcbt]" ] || bindkey "$terminfo[kcbt]" menu-select
|
||||
|
||||
# Make Tab and ShiftTab change the selection in the menu
|
||||
bindkey -M menuselect '^I' menu-complete
|
||||
bindkey -M menuselect "$terminfo[kcbt]" reverse-menu-complete
|
||||
bindkey -M menuselect '^I' menu-complete
|
||||
[ -z "$terminfo[kcbt]" ] || bindkey -M menuselect "$terminfo[kcbt]" reverse-menu-complete
|
||||
|
||||
# Make ← and → always move the cursor on the command line
|
||||
# bindkey -M menuselect '^[[D' .backward-char '^[OD' .backward-char
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env -S bash -c 'echo "Not a user script. source(aka .) only"'
|
||||
|
||||
if is_cmd load-zellij; then
|
||||
[[ -z "$ZELLIJ_SESSION_NAME" && "${SZ_NOMUX:-0}" -eq '1' ]] \
|
||||
[[ -z "$ZELLIJ_SESSION_NAME" && "${SZ_NOMUX:-0}" -eq '1' && "${ATUIN_DESKTOP_PTY}" = "true" ]] \
|
||||
&& ZELLIJ_SESSION_NAME=__NO_LOAD__
|
||||
# zellij will need to allow reload of the enviornment
|
||||
[[ -z "$ZELLIJ_SESSION_NAME" ]] && unset SZ_ENV_LOADED
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue