dotfiles/os/aliases.config.fish
2024-02-03 11:20:28 -08:00

9 lines
260 B
Fish

#!/usr/bin/env fish
if [ "$(uname)" = Darwin ]
abbr -a afk --position command "osascript -e 'tell application \"System Events\" to sleep'"
abbr -a o --position command open
else if [ "$(uname)" = Linux ]
abbr -a o --position command xdg-open
end