summaryrefslogtreecommitdiffstats
path: root/.bashrc
diff options
context:
space:
mode:
Diffstat (limited to '.bashrc')
-rw-r--r--.bashrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 4b9e644..34c3d6d 100644
--- a/.bashrc
+++ b/.bashrc
@@ -134,6 +134,8 @@ cdup() {
cdmk() { cd "$1" 2>/dev/null || { mkdir "$1"; cd "$1";}; }
+vim-which() { vim "$(which "$@")"; }
+
# Jim Meyring's take on "display the programs with W and X memory"
# http://lists.fedoraproject.org/pipermail/devel/2013-April/181747.html
sec-wx-mem() {