| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
The chpwd_recent_dirs handler errors when $XDG_STATE_HOME/zsh/
doesn't exist. Add a mkdir -p guard before setting the zstyle.
Also rewrites za() to properly handle zellij list-sessions output
by splitting into a zsh array and filtering empty lines. Adds a
$ZELLIJ nesting guard and passes explicit session name to attach.
|
| |
|
|
|
| |
Queries tab position once at shell init (cached, no per-prompt cost)
and prepends it: '1:dotfiles', '2:~:nvim', etc.
|
| | |
|
| |
|
|
|
|
|
| |
Uses precmd/preexec hooks to rename the active zellij tab:
- At prompt: shows directory name (e.g. 'dotfiles')
- During command: shows dir:cmd (e.g. 'dotfiles:nvim')
Only active inside zellij ($ZELLIJ is set).
|
| |
|
|
|
|
| |
0 sessions: create new. 1 session: attach directly. Multiple: open
the welcome picker. Replaces broken 'zellij attach -c' which required
a session name argument.
|
| |
|
|
|
|
|
| |
System uses Xorg, not Wayland. OSC 52 is terminal-native and works
on both X11 and Wayland without external tools. Alacritty supports
it natively. Removes copy_command from zellij config (OSC 52 is the
default when no copy_command is set).
|
| |
|
|
|
| |
Replaces tmux-yank's prefix+y functionality with a native zsh
widget that copies $BUFFER to clipboard via wl-copy.
|
| |
|
|
|
|
| |
- Remove ta/tas tmux aliases
- Add za (zellij attach -c): attach or create session
Usage: za (default session), za myname (named session)
|
| |
|
|
|
|
|
|
|
|
| |
Remove 9 explicit key bindings (Home, End, Insert, Backspace, Delete,
Left, Right, PageUp, PageDown) — all already work OOTB in emacs mode
on modern terminals.
Keep only:
- Application mode block (ensures terminfo works during zle)
- Up/Down key lookup (needed for substring-search bindings below)
|
| |
|
|
|
| |
Each line now has an inline comment explaining what it does and why.
The completer pipeline gets a multi-line breakdown of each stage.
|
| |
|
|
|
|
|
| |
With extendedglob on, ZSH_HIGHLIGHT_STYLES[comment] triggers
'assignment to invalid subscript range' because the array doesn't
exist yet and [comment] is parsed as a glob pattern. Explicitly
declare it as an associative array first.
|
| |
|
|
|
|
| |
Single Ctrl-Z press suspends a process AND resumes it — no need to
type 'fg' manually. If no jobs are suspended, clears the screen
instead. Very ergonomic for editor/build workflows.
|
| |
|
|
|
|
|
|
| |
z foo → jump to best frecency-ranked directory matching "foo"
zi → interactive fzf picker for directory history
Much more powerful than cdr — learns from usage patterns across all
sessions and ranks by frequency + recency (frecency algorithm).
|
| |
|
|
|
|
|
|
|
| |
Ctrl-Right/Left and Alt-Right/Left for word-by-word navigation.
Ctrl-Backspace/Delete for word-by-word deletion.
The key insight: Ctrl-Right (forward-word) with zsh-autosuggestions
installed automatically accepts the next word of the suggestion,
giving fish's killer partial-accept feature for free.
|
| |
|
|
|
|
|
|
|
| |
- Replace fgrep/egrep aliases with grep -F/grep -E (POSIX deprecated
the standalone fgrep/egrep commands)
- Rename gdb alias to gdbr (gdb auto-started with args is a
convenience shortcut, not a replacement for plain gdb)
- Remove LESS -X flag (legacy workaround for old less versions that
didn't properly use alternate screen)
|
| |
|
|
|
|
|
| |
- AWT_TOOLKIT=MToolkit: removed in Java 7 (2011), does nothing
- GTK_RC_FILES for gtk-1.0: GTK1 is from 1998, no apps use it
- PYTHON_EGG_CACHE: eggs deprecated, pip/setuptools use wheels
- WORKON_HOME: virtualenvwrapper not used (modern Python uses venv/uv)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
History:
- extended_history: save timestamps per entry
- share_history: share across concurrent sessions
- hist_ignore_all_dups: remove older duplicate on new entry
- hist_find_no_dups: skip duplicates when searching
- hist_reduce_blanks: trim superfluous whitespace
- hist_ignore_space: leading space = private command
Navigation:
- auto_pushd: cd pushes onto dir stack (cd -<TAB> to browse)
- pushd_ignore_dups: don't push duplicate dirs
|
| |
|
|
|
| |
appendhistory (<D>), nomatch (<C><Z>), and notify (<Z>) are all set
by default in zsh emulation. Add a comment noting this for reference.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Move HISTFILE from XDG_CACHE_HOME to XDG_STATE_HOME (history is
state, not cache — cache cleaners could delete it)
- Fix compinit: add -d flag to put zcompdump in XDG_CACHE_HOME
instead of polluting $HOME
- Fix cdr: set recent-dirs-file to XDG_STATE_HOME location
- Fix ZSH_HIGHLIGHT_HIGHLIGHTERS/STYLES: set BEFORE sourcing the
plugin (required by plugin docs)
- Fix zsh-history-substring-search: bind to Up/Down keys (was loaded
but never bound — dead code)
- Remove dead .../..../….. aliases (rationalise-dot widget intercepts
every dot keystroke, making these unreachable)
- Remove redundant ShiftTab reverse-menu-complete binding (overridden
by autosuggest-accept)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Merge aliases into .zshrc and fix multiple bugs:
- Fix: remove duplicate zle application mode block (lines 110-115)
- Fix: select-word-style called once (shell), was called twice (bash then shell)
- Fix: remove contradictory no_complete_aliases/COMPLETE_ALIASES setopts
- Fix: remove 'set zle_bracketed_paste' (wrong syntax, did nothing)
- Remove: case $- guard (unnecessary — zsh only sources .zshrc interactively)
- Remove: shinit sourcing (replaced by direct config in .zprofile/.zshrc)
- Remove: safesource calls (direct source)
- Remove: ZSH_AUTOSUGGEST_USE_ASYNC (deprecated, async is default)
- Remove: run-help-sudo (system uses doas)
- Remove: bash() wrapper function (no longer needed)
- Remove: initial Up/Down bindings (immediately overridden by prefix search)
- Organize into clearly labeled sections with comments
- Consolidate compdef calls
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Replace the symlink-to-.profile with a proper zsh-native .zprofile.
Merges content from envrc into a single file. Changes:
- Remove POSIX compat helpers (safesource, exists, ifexists)
- Remove LESS_TERMCAP block (MANPAGER is nvim)
- Remove deprecated MOZ_WEBRENDER, MOZ_X11_EGL, GPG_AGENT_INFO
- Remove SENTRY_ACCESS_TOKEN, ENV export
- Remove .zshrc dispatch (zsh handles this natively via ZDOTDIR)
- Fix duplicate RUSTUP_HOME export
- Fix work-envrc: was checking wrong file readability
- Fix XAUTHORITY: also skip when over SSH
- Use zsh idioms: typeset -U, $+commands, [[]]
- Use $TTY for GPG_TTY (zsh sets this automatically)
- Organize into clearly labeled sections with comments
- Delete home/.zprofile (was symlink to .profile, now redundant)
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|