Browse Source

Add login hook to remap ESC SHIFT to sudo user instead of current one

Kevin Heinicke 8 năm trước cách đây
mục cha
commit
25dd187e54
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      install_osx.conf.yaml

+ 1 - 1
install_osx.conf.yaml

@@ -1,6 +1,6 @@
 - shell:
     -
-      command: defaults read com.apple.loginwindow || sudo defaults write com.apple.loginwindow LoginHook $PWD/osx_startup_script.sh && ./osx_startup_script.sh
+      command: sudo defaults read com.apple.loginwindow || sudo defaults write com.apple.loginwindow LoginHook $PWD/osx_startup_script.sh && sudo ./osx_startup_script.sh
       description: setup login hook to remap keys
       stderr: true
       stout: true