Files

47 lines
1.6 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup python 1.0
name thefuck
version 3.32
revision 6
categories-append sysutils
platforms {darwin any}
supported_archs noarch
license MIT
maintainers {i0ntempest @i0ntempest} openmaintainer
description a magnificent app that corrects errors in previous console commands
long_description The Fuck is {*}${description}.
homepage https://github.com/nvbn/thefuck
checksums rmd160 e53ea0498de134173e8b0bea90f2522fa379fe13 \
sha256 976740b9aa536726fa23cadc9a10bf457e92e335901c61fcff9152c84485ac3d \
size 83575
python.versions 314
depends_build-append \
port:py${python.version}-setuptools
depends_lib-append port:py${python.version}-colorama \
port:py${python.version}-decorator \
port:py${python.version}-setuptools \
port:py${python.version}-psutil \
port:py${python.version}-pyte \
port:py${python.version}-six
patchfiles-append patch-python312.diff
patch.pre_args-replace -p0 -p1
notes "
To configure thefuck fuck alias, add this to your startup file (eg. .bash_profile, .zshrc)
eval \"\$(thefuck --alias)\"
For other shells like Fish, tcsh, Powershell, etc. Please refer to thefuck wiki:
ยป https://github.com/nvbn/thefuck/wiki/Shell-aliases
"