Add server CLI tools installer for Ubuntu/Debian servers
Introduce a self-contained repo with an interactive install.sh that provisions zsh, oh-my-zsh, aliases, bat/yazi configs, docker shortcuts, and git-delta pager setup. Configs are adapted from dotfiles for SSH-only servers — no desktop or neovim dependencies. Installer supports --all, --update (git pull + re-run), and --uninstall with backup restore. Core packages include vim (default editor), yazi via apt, and idempotent apt installs with warnings for eza and git-delta when repos lack them.
This commit is contained in:
19
configs/zshrc
Normal file
19
configs/zshrc
Normal file
@@ -0,0 +1,19 @@
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
export ALIASES="$HOME/.config/aliases"
|
||||
export CT_DIR="$HOME/.config/custom_tools"
|
||||
export EDITOR="vim"
|
||||
ZSH_THEME=""
|
||||
DISABLE_AUTO_TITLE="true"
|
||||
plugins=(
|
||||
git
|
||||
zsh-syntax-highlighting
|
||||
zsh-autosuggestions
|
||||
z
|
||||
)
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
source $HOME/.config/zsh/zhann-elvis.zsh-theme
|
||||
source $ALIASES/.aliases
|
||||
autoload -Uz zcalc
|
||||
[ -f /usr/share/doc/fzf/examples/key-bindings.zsh ] && source /usr/share/doc/fzf/examples/key-bindings.zsh
|
||||
[ -f /usr/share/doc/fzf/examples/completion.zsh ] && source /usr/share/doc/fzf/examples/completion.zsh
|
||||
command -v fzf >/dev/null 2>&1 && eval "$(fzf --zsh 2>/dev/null)" || true
|
||||
Reference in New Issue
Block a user