about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xemacs.d/open-from-iterm.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs.d/open-from-iterm.sh b/emacs.d/open-from-iterm.sh
index cf7d7a2ed3bd..fdb4257965cb 100755
--- a/emacs.d/open-from-iterm.sh
+++ b/emacs.d/open-from-iterm.sh
@@ -31,7 +31,7 @@ e "file:   $file"
 e "number: $number"
 
 if ! [ -z "$number" ]; then
-  $emacs -n -e "(find-file \"$file\")" "(goto-line $number)"
+  $emacs -n -e "(find-file \"$file\")" "(goto-line $number)" "(call-interactively #'evil-scroll-line-to-center)"
 else
   $emacs -n -e "(find-file \"$file\")"
 fi