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:
11
configs/aliases/.git_bash_autocomplete
Normal file
11
configs/aliases/.git_bash_autocomplete
Normal file
@@ -0,0 +1,11 @@
|
||||
gco() {
|
||||
git checkout "$@"
|
||||
}
|
||||
# Enable git completion if available
|
||||
if [ -f /usr/share/bash-completion/completions/git ]; then
|
||||
. /usr/share/bash-completion/completions/git
|
||||
fi
|
||||
# Enable git branch completion for gc
|
||||
if type __git_complete &>/dev/null; then
|
||||
__git_complete gco _git_checkout
|
||||
fi
|
||||
Reference in New Issue
Block a user