Skip to content

Commit

Permalink
Update rc_awesome.xsh
Browse files Browse the repository at this point in the history
  • Loading branch information
anki-code committed Aug 2, 2022
1 parent fc99f03 commit 1f6b7c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions xontrib/rc_awesome.xsh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ if _xontribs:
# Platform specific
# -------------------------------------------------------------------------------------------------------------------------------------------------------------

from xonsh.platform import ON_LINUX, ON_DARWIN #, ON_WINDOWS, ON_WSL, ON_CYGWIN, ON_MSYS, ON_POSIX, ON_FREEBSD, ON_DRAGONFLY, ON_NETBSD, ON_OPENBSD
from xonsh.platform import ON_LINUX, ON_DARWIN, ON_WINDOWS #, ON_WSL, ON_CYGWIN, ON_MSYS, ON_POSIX, ON_FREEBSD, ON_DRAGONFLY, ON_NETBSD, ON_OPENBSD

if ON_LINUX or ON_DARWIN:

Expand Down Expand Up @@ -90,7 +90,7 @@ if ON_LINUX or ON_DARWIN:

# Copy output to current clipboard using xclip.
# Example: echo hello | clp
aliases['clp'] = 'pbcopy' if ON_DARWIN else 'xclip -sel clip'
aliases['clp'] = 'pbcopy' if ON_DARWIN else ('xclip -sel clip' if ON_LINUX else ('clip.exe' if ON_WINDOWS else 'echo No copy utils!'))

# SSH: Suppress "Connection close" message.
aliases['ssh'] = 'ssh -o LogLevel=QUIET'
Expand Down

0 comments on commit 1f6b7c9

Please sign in to comment.