Fix zsh alias error and sync packages across Dockerfiles
Fixed zsh configuration: - Fixed '?' alias that was causing 'no matches found' error in zsh - Added proper bat alias (bat → batcat on Ubuntu) - Added conditional alias handling for different shells Synchronized packages across Dockerfiles: - Added bat, mpack, pandoc to Dockerfile.scratch - Enhanced package cleanup in Dockerfile.scratch - Both Dockerfiles now have identical package lists New packages available: - bat (as batcat) - syntax-highlighted cat alternative - mpack - MIME email utilities - pandoc - document converter All shells (bash, zsh, fish) now work without errors!
This commit is contained in:
@@ -100,11 +100,18 @@ alias egrep='egrep --color=auto'
|
||||
|
||||
# Tool aliases
|
||||
alias fd='fdfind'
|
||||
alias bat='batcat' # Ubuntu names it batcat
|
||||
alias rg='rg --color=auto'
|
||||
alias analyse='fhelp'
|
||||
alias ?='fhelp'
|
||||
alias help='fhelp'
|
||||
|
||||
# Help alias (? needs special handling in zsh)
|
||||
if [[ -n "$ZSH_VERSION" ]]; then
|
||||
alias \?='fhelp'
|
||||
else
|
||||
alias '?'='fhelp'
|
||||
fi
|
||||
|
||||
# Quick navigation
|
||||
alias ..='cd ..'
|
||||
alias ...='cd ../..'
|
||||
|
||||
Reference in New Issue
Block a user