49 lines
1.2 KiB
Plaintext
49 lines
1.2 KiB
Plaintext
# zshrc.rbruserver
|
|
# Rescue CD Backup & Restore Utility zsh configuration
|
|
# version 7.2.5
|
|
# Rod Wright 1/16/2024
|
|
# Refer to CHANGELOG file for details.
|
|
# -----------------------------------------------------------------------------
|
|
#
|
|
# This file is based on the configuration written by
|
|
# Bruno Bonfils, <asyd@debian-fr.org>
|
|
# Written since summer 2001
|
|
|
|
#
|
|
# My functions (don't forget to modify fpath before call compinit !!)
|
|
fpath=($HOME/.zsh/functions $fpath)
|
|
|
|
# colors
|
|
eval `dircolors $HOME/.zsh/colors`
|
|
|
|
autoload -U zutil
|
|
autoload -U compinit
|
|
autoload -U complist
|
|
|
|
bindkey '\e[A' history-search-backward
|
|
bindkey '\e[B' history-search-forward
|
|
bindkey '^K' kill-whole-line
|
|
bindkey "\e[H" beginning-of-line # Home (xorg)
|
|
bindkey "\e[1~" beginning-of-line # Home (console)
|
|
bindkey "\e[4~" end-of-line # End (console)
|
|
bindkey "\e[F" end-of-line # End (xorg)
|
|
bindkey "\e[2~" overwrite-mode # Ins
|
|
bindkey "\e[3~" delete-char # Delete
|
|
bindkey '\eOH' beginning-of-line
|
|
bindkey '\eOF' end-of-line
|
|
|
|
# Activation
|
|
compinit
|
|
|
|
# Resource files
|
|
for file in $HOME/.zsh/rc/*.rc; do
|
|
source $file
|
|
done
|
|
|
|
#start the rescuebru server
|
|
if [ "$TTY" = "/dev/tty1" ]; then
|
|
/root/rescuebru/rbruserver
|
|
fi
|
|
|
|
|