about summary refs log tree commit diff
path: root/configs/shared
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-03-28T17·32+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-03-28T17·32+0000
commit54c13a88489bbc40395811a3456f51743c56bcd2 (patch)
tree6d4575654d25eaa0e5c34593d2aad9a2e59ba350 /configs/shared
parent653ffd381a35a141cbf26f6549d28bcfbd18adac (diff)
Update Cider KBD to use google-chrome
This allows me to take advantage of the --app=<URL> flag that google-chrome
supports, which is nice for a version of cider that bleeds all the way to the
window's edges. It makes Cider feel more like a native application experience.
Diffstat (limited to 'configs/shared')
-rw-r--r--configs/shared/zsh/functions.zsh3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/shared/zsh/functions.zsh b/configs/shared/zsh/functions.zsh
index ec64c2293a96..8c751c64aaa8 100644
--- a/configs/shared/zsh/functions.zsh
+++ b/configs/shared/zsh/functions.zsh
@@ -593,7 +593,8 @@ cider() {
   # Opens the current workspace and current directory in Google's Cider
   # Not very useful at the moment because it cannot jump to the current file or
   # line number. Should also support an Emacs integration at some point.
-  browse "https://cider.corp.google.com/?ws=$(citc_workspace)"
+  google-chrome \
+    --app="https://cider.corp.google.com/?ws=$(citc_workspace)"
 }
 
 # i3