aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/zsh/.zshrc
diff options
context:
space:
mode:
authorLibravatar sommerfeld <[email protected]>2026-04-17 10:53:31 +0100
committerLibravatar sommerfeld <[email protected]>2026-04-17 10:53:31 +0100
commit6a60acf2b71004a830fe3c70df6d03fee28d3af7 (patch)
tree3e7833a0410309c840e33ae1edba66efb25eec22 /home/.config/zsh/.zshrc
parentf6077d77612835e1c5959fb3d37c933cc2ac6b80 (diff)
downloaddotfiles-6a60acf2b71004a830fe3c70df6d03fee28d3af7.tar.gz
dotfiles-6a60acf2b71004a830fe3c70df6d03fee28d3af7.tar.bz2
dotfiles-6a60acf2b71004a830fe3c70df6d03fee28d3af7.zip
refactor: modernize aliases and clean up LESS flags
- Replace fgrep/egrep aliases with grep -F/grep -E (POSIX deprecated the standalone fgrep/egrep commands) - Rename gdb alias to gdbr (gdb auto-started with args is a convenience shortcut, not a replacement for plain gdb) - Remove LESS -X flag (legacy workaround for old less versions that didn't properly use alternate screen)
Diffstat (limited to 'home/.config/zsh/.zshrc')
-rw-r--r--home/.config/zsh/.zshrc6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/.config/zsh/.zshrc b/home/.config/zsh/.zshrc
index 06de64f..b20a085 100644
--- a/home/.config/zsh/.zshrc
+++ b/home/.config/zsh/.zshrc
@@ -160,8 +160,8 @@ alias free='free -h'
# Grep / diff with color
alias grep='grep --color=auto'
-alias fgrep='fgrep --color=auto'
-alias egrep='egrep --color=auto'
+alias fgrep='grep -F --color=auto'
+alias egrep='grep -E --color=auto'
alias diff='diff --color=auto'
alias dmesg='dmesg --color=auto'
alias dm='dmesg --color=always | less -r'
@@ -228,7 +228,7 @@ alias irfc='flang -S -emit-llvm -O0 -o -'
alias astcc='clang -Xclang -ast-dump -fsyntax-only'
alias astfc='flang -fc1 -fdebug-dump-parse-tree'
alias symfc='flang -fc1 -fdebug-dump-symbols'
-alias gdb='gdb -ex start --args'
+alias gdbr='gdb -ex start --args'
# GitHub Copilot CLI
alias copilot='gh copilot --autopilot --enable-all-github-mcp-tools --yolo --resume'