summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjohannst <stoelp@eit.uni-kl.de>2018-04-18 10:53:19 +0200
committerjohannst <stoelp@eit.uni-kl.de>2018-04-18 10:53:19 +0200
commiteb2373897010abd000215cbc68af8b3e697a69a2 (patch)
treee435bef145e111f875d1b1ba76b4eb08a731b736
parentd35ffeb4a44ceac6cb5f66aba3cc8b27a20f22bd (diff)
downloaddotfiles-eb2373897010abd000215cbc68af8b3e697a69a2.tar.gz
dotfiles-eb2373897010abd000215cbc68af8b3e697a69a2.zip
bashrc refined some alias; gdbinit added to set pernding BPs as default
-rw-r--r--bashrc14
-rw-r--r--gdbinit2
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