summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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