summaryrefslogtreecommitdiff
path: root/.bashrc.files/functions
diff options
context:
space:
mode:
authorJohannes Stolp <jstolp@fr65cs25.internal.synopsys.com>2016-08-12 18:03:22 +0200
committerJohannes Stolp <jstolp@fr65cs25.internal.synopsys.com>2016-08-12 18:03:22 +0200
commite27e4094041138d2430bd6f3123a4bbf677f508a (patch)
tree67ccaf09b3667db711b24891b97bbb91c5b4121e /.bashrc.files/functions
parent223ea8f5199aef6b7c6b771c4448282288f18d9b (diff)
downloaddotfiles-e27e4094041138d2430bd6f3123a4bbf677f508a.tar.gz
dotfiles-e27e4094041138d2430bd6f3123a4bbf677f508a.zip
added terminess powerline font for xterm, small change in PS1 variable, reorderd tmux config and added new 'prefix f' for full screen mode
Diffstat (limited to '.bashrc.files/functions')
-rw-r--r--.bashrc.files/functions6
1 files changed, 6 insertions, 0 deletions
diff --git a/.bashrc.files/functions b/.bashrc.files/functions
new file mode 100644
index 0000000..fbab13d
--- /dev/null
+++ b/.bashrc.files/functions
@@ -0,0 +1,6 @@
+function vimgrep()
+{
+ if [ -z $1 ]; then echo -e "vimgrep PATTERN PATH"; return 1; fi
+ if [ -z $2 ]; then echo -e "vimgrep PATTERN PATH"; return 1; fi
+ \grep -IRn $1 $2 | vim -
+}