colored ip

This commit is contained in:
Anton Volnuhin 2024-05-21 20:03:58 +03:00
parent 0b1af2a914
commit 6c113fb3bf

View File

@ -47,6 +47,12 @@ function ss
python3 ~/.config/scripts/ss.py $argv python3 ~/.config/scripts/ss.py $argv
end end
set IPPATH (which ip)
function ip
$IPPATH --color=auto $argv
end
function s function s
if [ $TERM_PROGRAM ] if [ $TERM_PROGRAM ]
ssh $argv ssh $argv