Commit 96454a9bbf7b0dc6a85f2ba025777bf6661e2fc0

Make `g` shell alias use run-gvim wrapper
Only when it's present in $PATH.
Author: xaizek
Author date (UTC): 2018-03-24 20:04
Committer name: xaizek
Committer date (UTC): 2018-03-24 20:04
Parent(s): 25844f75cdffb7c1c17c9674b30c7a507fbbff7e
Signing key: 99DC5E4DB05F6BE2
Tree: f0b4f4e0ff4208300e9b72a74f81a8d0ec7fe80a
File Lines added Lines deleted
bashrc 8 3
File bashrc changed (mode: 100644) (index 3fea92f..e894d1d)
... ... function g()
67 67
68 68 function run_detached_gvim() function run_detached_gvim()
69 69 { {
70 if [ "$OS" != Windows_NT ]; then
71 gvim $VIMARGS "$@"
72 else
70 if [ "$OS" = Windows_NT ]; then
73 71 start gvim $VIMARGS "$@" start gvim $VIMARGS "$@"
72 return
73 fi
74
75 if type run-gvim > /dev/null 2>&1; then
76 run-gvim "$@"
77 else
78 gvim $VIMARGS "$@"
74 79 fi fi
75 80 } }
76 81
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/dotfiles

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/dotfiles

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master