X-Git-Url: https://git.phdru.name/?p=dotfiles.git;a=blobdiff_plain;f=bin%2FPS;h=7fbd8b1cfb3b2b75c1303a2ad543af0f66f56f66;hp=67574b554436acdc20ac245993d489be5183fd0c;hb=3fdf2f7baaa3a67880de95948d6ee76bc698fbc9;hpb=0477080a03713846f689faf58a3d0df4028e32fc diff --git a/bin/PS b/bin/PS index 67574b5..7fbd8b1 100755 --- a/bin/PS +++ b/bin/PS @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 import sys, os @@ -13,5 +13,5 @@ if pager == 'less': opt = 'S' if opt not in less: less = opt + less - os.environ["LESS"] = less + os.environ["LESS"] = less os.system("ps %s | %s" % (args, pager))