From eb2373897010abd000215cbc68af8b3e697a69a2 Mon Sep 17 00:00:00 2001 From: johannst Date: Wed, 18 Apr 2018 10:53:19 +0200 Subject: bashrc refined some alias; gdbinit added to set pernding BPs as default --- bashrc | 14 ++++++++------ gdbinit | 2 ++ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/bashrc b/bashrc index 8fc26fb..dab14d5 100644 --- a/bashrc +++ b/bashrc @@ -51,13 +51,15 @@ vimode #}}} #{{{ alias -alias ls='ls --color=auto -h' -alias ll='ls -lF' -alias la='ls -AF' +alias ls='ls --color=auto --human-readable' +alias ll='ls -l --classify' +alias la='ls --almost-all --classify' +alias lt='ll -t --reverse' alias grep='grep --color=auto' -alias pstree="pstree -achpG ${USER}" -alias ps='\ps --format user,pid,ppid,pgid,tty,stat,start,bsdtime,command' -alias ups='\ps -fxww --format user,pid,ppid,pgid,tty,stat,start,bsdtime,command' +alias pstree="pstree -achpA" +alias watchpstree='watch -n 2 pstree' +alias ps="\\ps --forest --format user,pid,ppid,stat,start,command" +alias ups="\\ps xww --forest --format user,pid,ppid,tty,stat,start,command" alias pps='ps | grep -i $1' alias penv='env | grep -i $1' alias rsync='rsync --progress' diff --git a/gdbinit b/gdbinit index 9788d13..01fa076 100644 --- a/gdbinit +++ b/gdbinit @@ -8,6 +8,8 @@ set prompt do_wizardry> set disassembly-flavor intel +set breakpoint pending on + define bs save breakpoints ~/.gdb/breakpoint.$arg0.save end -- cgit v1.2.3