Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Zellij

install

sudo pacman -S zellij

Personal do

vim ~/.zshrc
export ZELLIJ_CONFIG_DIR="$HOME/.config/zellij"
export ZELLIJ_CONFIG_FILE="$HOME/.config/zellij/user.kdl"

zellij_tab_name_update() {
  if [[ -n $ZELLIJ ]]; then
    local current_dir=$PWD
    if [[ $current_dir == $HOME ]]; then
      current_dir="~"
    else
      current_dir=${current_dir##*/}
    fi
      command nohup zellij action rename-tab $current_dir >/dev/null 2>&1
      fi
}
zellij_tab_name_update
chpwd_functions+=(zellij_tab_name_update)

alias zw='zellij --layout=swap'

reference

cross-reference

resource

cache