Make startss a function.
This commit is contained in:
parent
96ebb38f7d
commit
663e1caa9f
@ -1,4 +1,3 @@
|
|||||||
alias startss='open -a /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app'
|
|
||||||
alias emacs="emacsclient -t"
|
alias emacs="emacsclient -t"
|
||||||
alias xemacs="\emacs --daemon > /dev/null 2&> /dev/null; emacsclient -c &"
|
alias xemacs="\emacs --daemon > /dev/null 2&> /dev/null; emacsclient -c &"
|
||||||
alias tmux="tmux -2"
|
alias tmux="tmux -2"
|
||||||
|
@ -225,3 +225,7 @@ function set_modifier_keys_on_all_keyboards() {
|
|||||||
function get_keyboard_vendor_id_product_id_pairs() {
|
function get_keyboard_vendor_id_product_id_pairs() {
|
||||||
ioreg -n IOHIDKeyboard -r | grep -e 'class IOHIDKeyboard' -e VendorID\" -e Product | gawk 'BEGIN { RS = "class IOHIDKeyboard" } match($0, /VendorID. = ([0-9]*)/, arr) { printf arr[1]} match($0, /ProductID. = ([0-9]*)/, arr) { printf " %s\n", arr[1]} '
|
ioreg -n IOHIDKeyboard -r | grep -e 'class IOHIDKeyboard' -e VendorID\" -e Product | gawk 'BEGIN { RS = "class IOHIDKeyboard" } match($0, /VendorID. = ([0-9]*)/, arr) { printf arr[1]} match($0, /ProductID. = ([0-9]*)/, arr) { printf " %s\n", arr[1]} '
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function startss() {
|
||||||
|
open -a /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user