Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

New general aliases

  • Loading branch information...
commit 76f5989d3272b62967b67bf81be5fc72d6b439ef 1 parent 60e2093
@tinogomes authored
Showing with 16 additions and 0 deletions.
  1. +8 −0 lib/aliases.zsh
  2. +8 −0 lib/functions.zsh
View
8 lib/aliases.zsh
@@ -24,3 +24,11 @@ alias sl=ls # often screw this up
alias afind='ack-grep -il'
+alias reload="source ~/.zshrc"
+alias galias='alias | grep'
+
+# Request confirmation before attempting to remove each file, regardless of the file's permissions, or
+# whether or not the standard input device is a terminal. The -i option overrides any previous -f options.
+#alias rm="rm -i"
+
+alias psg='show_processes'
View
8 lib/functions.zsh
@@ -15,3 +15,11 @@ function take() {
cd $1
}
+function show_processes() {
+ if (($# == 0)); then
+ ps -ef
+ else
+ echo " UID PID PPID C STIME TTY TIME CMD"
+ ps -ef | grep $*
+ fi
+}
Please sign in to comment.
Something went wrong with that request. Please try again.