aboutsummaryrefslogtreecommitdiff
path: root/.functions
diff options
context:
space:
mode:
Diffstat (limited to '.functions')
-rw-r--r--.functions12
1 files changed, 1 insertions, 11 deletions
diff --git a/.functions b/.functions
index 879804c..fe48470 100644
--- a/.functions
+++ b/.functions
@@ -1,15 +1,5 @@
#!/usr/bin/env bash
-open () {
- if [ -f /usr/bin/xdg-open ]; then
- nohup xdg-open "$*" > /dev/null 2>&1 &
- elif [ -f /usr/bin/open ]; then
- /usr/bin/open "$*"
- else
- echo "No usable program is found"
- fi
-}
-
greview () {
usage='usage: greview <base_branch>'
if [ $# -lt 1 ]; then
@@ -24,6 +14,6 @@ greview () {
# "+nmap <C-k> :tabpreivous<CR>"
vim $(git diff --merge-base --name-only $base_branch) \
- "+nmap <leader>gd :Gvdiffsplit $base_branch<CR>"
+ "+nmap <leader>gd :Gvdiffsplit $base_branch<CR>"
}