1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-08-01 12:37:46 +00:00

Only alias hx if kitty

This commit is contained in:
RGBCube 2023-12-07 09:11:09 +03:00
parent 8a9b3667c5
commit 7162fdb6f5
No known key found for this signature in database

View file

@ -12,10 +12,12 @@ $env.ENV_CONVERSIONS.PATH = {
}
}
def --wrapped hx [...arguments] {
kitty @ set-spacing padding=0
if ($env.TERM | str contains "kitty") {
def --wrapped hx [...arguments] {
kitty @ set-spacing padding=0
^hx $arguments
^hx $arguments
kitty @ set-spacing padding=10
kitty @ set-spacing padding=10
}
}