dotfiles

Cross platform dotfiles for linux, mac and windows
git clone git@getsh.org:dotfiles.git
Log | Files | Refs

commit efd9299d87dbc4756eb723e521a193b45d4fd0c9
parent 55480ebf1fe2db63df042fbd3c9257960ca18777
Author: Bharatvaj <bharatvaj@yahoo.com>
Date:   Mon,  7 Mar 2022 00:21:23 +0530

Add git shortcuts for submodule update

Make VISUAL to one of nvim or vim

Diffstat:
M.config/git/config | 2++
M.profile | 3+--
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.config/git/config b/.config/git/config @@ -10,7 +10,9 @@ ld = log --pretty=format:"%h %ad %s" --date=short --all lg = log --graph --oneline --decorate --all p = pull + r = reset st = status + suir = submodule update --init --recursive wt = worktree [difftool] diff --git a/.profile b/.profile @@ -71,8 +71,7 @@ mich() { # Setup editor -# export VISUAL=$(mich nvim && echo nvim || echo vim ) -export VISUAL=nvi +export VISUAL=$(mich nvim && echo nvim || echo vim ) export EDITOR="$VISUAL" export BROWSER="$(mich lynx && echo lynx)"